[
https://issues.apache.org/jira/browse/PHOENIX-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15324721#comment-15324721
]
Samarth Jain commented on PHOENIX-2489:
---------------------------------------
Patch looks good to me, [~jamestaylor]. One minor question in UnionCompiler -
{code}
if (type != null && !type.isCoercibleTo(selectTypes.get(j))) {
throw new
SQLExceptionInfo.Builder(SQLExceptionCode.SELECT_COLUMN_TYPE_IN_UNIONALL_DIFFS).setMessage(".").build().buildException();
}
{code}
When can an expression's data type be null?
> 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)