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/04 00:44:22 UTC
[jira] [Commented] (CALCITE-1407) MetaImpl#fieldMetaData wrongly
uses 1-based column ordinals
[ https://issues.apache.org/jira/browse/CALCITE-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15543917#comment-15543917 ]
Laurent Goujon commented on CALCITE-1407:
-----------------------------------------
Pull request: https://github.com/apache/calcite/pull/291
> MetaImpl#fieldMetaData wrongly uses 1-based column ordinals
> -----------------------------------------------------------
>
> Key: CALCITE-1407
> URL: https://issues.apache.org/jira/browse/CALCITE-1407
> Project: Calcite
> Issue Type: Bug
> Components: avatica
> Reporter: Laurent Goujon
> Assignee: Julian Hyde
> Fix For: avatica-1.9.0
>
>
> 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)