Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.10.0
-
None
-
None
Description
Selecting from a view created in 0.7 after upgrade to 0.10 fails on
Invalid table alias or column reference
The reason is that while running this :
create view a as select b from c.d;
in v0.7 will generate in the metastore this SQL :
select `c.d`.b from `c`.`d`;
which fails in v0.10
While running the same create SQL in v0.10 generates different SQL in the metastore :
select `d`.b from `c`.`d`;
which succeeds in v0.10 (notice there is no DB prefix in the select part)
A workaround is to recreate the view.