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

[jira] [Assigned] (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:all-tabpanel ]

Mujtaba Chohan reassigned PHOENIX-3900:
---------------------------------------

         Assignee: Thomas D'Silva
    Fix Version/s: 4.11.0

> 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
>
>
> {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)