You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Thomas D'Silva (JIRA)" <ji...@apache.org> on 2017/05/31 22:58:04 UTC

[jira] [Commented] (PHOENIX-3900) Backward compatibility fails with TNF exception when deleting table with a view

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

Thomas D'Silva commented on PHOENIX-3900:
-----------------------------------------

[~mujtabachohan] ran the b/w tests and they passed. 
[~jamestaylor] Can you please review?


> Backward compatibility fails with TNF exception when deleting table with a view
> -------------------------------------------------------------------------------
>
>                 Key: PHOENIX-3900
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3900
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Mujtaba Chohan
>            Assignee: Thomas D'Silva
>             Fix For: 4.11.0
>
>         Attachments: PHOENIX-3900.patch
>
>
> {noformat}
> Error: ERROR 1012 (42M03): Table undefined. tableName=T (state=42M03,code=1012)
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined. tableName=T
> 	at org.apache.phoenix.schema.MetaDataClient.dropTable(MetaDataClient.java:2479)
> 	at org.apache.phoenix.schema.MetaDataClient.dropTable(MetaDataClient.java:2401)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableDropTableStatement$1.execute(PhoenixStatement.java:903)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:355)
> {noformat}
> Using 4.9.0 client and server with head of 4.x (this is after commit of PHOENIX-3870)
> {noformat}
> create table T (pk1 varchar not null primary key, mycol varchar) salt_buckets=4;
> create view TV (mycol2 varchar) as select * from T;
> drop table T cascade;
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)