You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "suraj misra (JIRA)" <ji...@apache.org> on 2017/09/11 04:22:00 UTC

[jira] [Comment Edited] (PHOENIX-4182) While using DatabaseMetaData.getTables(catalog,schemaPattern,tableNamePattern,types[]) throwing exception for getting SEQUENCE information.

    [ https://issues.apache.org/jira/browse/PHOENIX-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160634#comment-16160634 ] 

suraj misra edited comment on PHOENIX-4182 at 9/11/17 4:21 AM:
---------------------------------------------------------------

Issue is in PhoenixDatabaseMetaData class. In case of sequence, whereClause is empty and when it is adding "and SEQUENCE_NAME like.." , it ibecomes "where and SEQUENCE_NAME like.." 


was (Author: suraj786):
Issue is in PhoenixDatabaseMetaData class. In case of sequence, whereClause is empty and when it is adding "and SEQUENCE_NAME like.." , it is becomes "where and SEQUENCE_NAME like.." 

> While using DatabaseMetaData.getTables(catalog,schemaPattern,tableNamePattern,types[])  throwing exception for getting SEQUENCE information.
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4182
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4182
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.11.0
>         Environment: Hbase 1.2 environment
>            Reporter: suraj misra
>
> It is throwing exception only in case of using SEQUENCE. For TABLE, INDEX and SYSTEM_TABLES , It is working fine.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)