git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom adapter with an unknown schema


Hi,

I am looking to implement an adapter for a custom backend. Below are a few
questions I have
  1. Schema for a table is not known upfront : Looks like I have to
use DynamicRecordTypeImpl
in "getRowType" method. But I keep getting the "Type 'RecordType()' has no
field 'ATTR2'" error.
  2. I can infer the schema after reading the first record from the
backend. I am not sure how and when to make calcite aware of the newly
detected schema.

Any pointers are much appreciated.

-Rahul


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-calcite-development/msg03861.html on line 83
Call Stack
#TimeMemoryFunctionLocation
10.0028363128{main}( ).../msg03861.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-calcite-development/msg03861.html on line 83
Call Stack
#TimeMemoryFunctionLocation
10.0028363128{main}( ).../msg03861.html:0