Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Method org.apache.calcite.avatica.MetaImpl#fieldMetaData(Class) creates Column metadata info from a metadata class. At the same time, the method provides the column ordinal, which is starts at 1, whereas ColumnMetadata ordinal starts at 0 (according to field comment and usage inside avatica).