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

Custom adapter with an unknown schema


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.