[
https://issues.apache.org/jira/browse/PHOENIX-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15324756#comment-15324756
]
James Taylor commented on PHOENIX-2489:
---------------------------------------
Thanks, [~samarthjain]. The type can be null for a null constant where the type
is unknown. For example:
{code}
SELECT my_col FROM T UNION ALL SELECT null FROM OTHER_T;
{code}
> Support sequence metadata access through DatabaseMetaData interface
> -------------------------------------------------------------------
>
> Key: PHOENIX-2489
> URL: https://issues.apache.org/jira/browse/PHOENIX-2489
> Project: Phoenix
> Issue Type: Improvement
> Reporter: James Taylor
> Fix For: 4.8.0
>
> Attachments: PHOENIX-2489.patch, PHOENIX-2489_v2.patch
>
>
> Our SYSTEM.SEQUENCE table is not accessible through the standard
> DatabaseMetaData API. Though there are no specific APIs around sequences,
> [~julianhyde] gave me the excellent idea of modeling a sequence as another
> table type. This would fit in very well, including support for accessing
> tenant-specific sequences.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)