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:47:04 UTC
[jira] [Created] (PHOENIX-3900) Backward compatibility fails with
TNF exception when deleting table with a view
Mujtaba Chohan created PHOENIX-3900:
---------------------------------------
Summary: 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
{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)