phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3900) Backward compatibility fails with TNF exception when deleting table with a view
Date Thu, 01 Jun 2017 00:16:04 GMT

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

James Taylor commented on PHOENIX-3900:
---------------------------------------

+1

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

Mime
View raw message