Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 1.3
-
None
-
None
Description
The following sequence of actions should work, but currently doesn't:
[localhost:21000] > use functional; Query: use functional [localhost:21000] > create view v1 as (select * from alltypes); Query: create view v1 as (select * from alltypes) Returned 0 row(s) in 0.58s [localhost:21000] > use default; Query: use default [localhost:21000] > select * from functional.v1; Query: select * from functional.v1 ERROR: AnalysisException: Table does not exist: default.alltypes
The reason is that toSql() doesn't always produce fully-qualified table names.