mirror of
https://github.com/apache/impala.git
synced 2026-01-05 21:00:54 -05:00
IMPALA-507: Creating a VIEW that does not reference a table fails with IllegalStateException.
Change-Id: I11470ba919bbfced76730adae2a46647c4ef110b Reviewed-on: http://gerrit.ent.cloudera.com:8080/146 Reviewed-by: Lenni Kuff <lskuff@cloudera.com> Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Alex Behm <alex.behm@cloudera.com>
This commit is contained in:
committed by
Henry Robinson
parent
52c9d26d16
commit
2b427208e5
@@ -220,4 +220,13 @@ select count(bigint_col), count(string_col) from ddl_test_db.new_parquet_view
|
||||
0,10
|
||||
---- TYPES
|
||||
bigint,bigint
|
||||
====
|
||||
---- QUERY
|
||||
# Create a view on a constant select and try to query it.
|
||||
create view ddl_test_db.const_view
|
||||
as select 1, 'a', 10.0
|
||||
---- RESULTS
|
||||
1,'a',10.0
|
||||
---- TYPES
|
||||
tinyint,string,float
|
||||
====
|
||||
Reference in New Issue
Block a user