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 01:39:20 UTC
[jira] [Commented] (CALCITE-1410) MetaImpl.MetaColumn doesn't
follow JDBC spec
[ https://issues.apache.org/jira/browse/CALCITE-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15544034#comment-15544034 ]
Laurent Goujon commented on CALCITE-1410:
-----------------------------------------
I haven't checked the other classes but I suppose they might have similar issues too.
> MetaImpl.MetaColumn doesn't follow JDBC spec
> --------------------------------------------
>
> Key: CALCITE-1410
> URL: https://issues.apache.org/jira/browse/CALCITE-1410
> Project: Calcite
> Issue Type: Bug
> Components: avatica
> Reporter: Laurent Goujon
>
> {{MetaImpl.MetaColumn}} which is used as a record for {{DatabaseMetadata#getColumns}} doesn't follow JDBC spec:
> several fields have incorrect types:
> - bufferLength should be an int (based on name, but not clarified in spec)
> - sqlDataType should be an int
> - sqlDatetimeSub should be an int
> - sourceDataType should be a short
> some fields also have incorrect nullability:
> - columnSize, charOctetLength and numPrecRadix can be null when they don't apply to their specific types
> - isNullable, isAutoincrement and isGeneratedcolumn should be a nullable fields (although they are not primitive fields), with value set to the empty string if undefined.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)