You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Laurent Goujon (JIRA)" <ji...@apache.org> on 2016/10/03 21:35:21 UTC
[jira] [Created] (CALCITE-1407) MetaImpl#fieldMetaData(Class>)
sets wrong ordinal
Laurent Goujon created CALCITE-1407:
---------------------------------------
Summary: MetaImpl#fieldMetaData(Class<?>) sets wrong ordinal
Key: CALCITE-1407
URL: https://issues.apache.org/jira/browse/CALCITE-1407
Project: Calcite
Issue Type: Bug
Components: avatica
Reporter: Laurent Goujon
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).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)