[
https://issues.apache.org/jira/browse/PHOENIX-3730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906060#comment-15906060
]
Kevin Liew commented on PHOENIX-3730:
-------------------------------------
We can eventually change {{PDatum}} {{getMaxLength}} and {{getScale}} to
primitive {{int}}.
> Handle unspecified precision and scale for VARCHAR and VARBINARY in
> Phoenix-Calcite
> -----------------------------------------------------------------------------------
>
> Key: PHOENIX-3730
> URL: https://issues.apache.org/jira/browse/PHOENIX-3730
> Project: Phoenix
> Issue Type: Bug
> Reporter: Kevin Liew
> Assignee: Kevin Liew
> Labels: calcite
> Attachments: PHOENIX-3730.patch
>
>
> Phoenix represents unspecified precision and scale as null values whereas
> Calcite defines the following:
> {code:java}
> int SCALE_NOT_SPECIFIED = Integer.MIN_VALUE;
> int PRECISION_NOT_SPECIFIED = -1;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)