Files
impala/testdata/workloads/functional-query/queries/QueryTest/local-filesystem.test
Zoltan Borok-Nagy 2ee914d5b3 IMPALA-5903: Inconsistent specification of result set and result set metadata
Before this commit it was quite random which DDL oprations
returned a result set and which didn't.

With this commit, every DDL operations return a summary of
its execution. They declare their result set schema in
Frontend.java, and provide the summary in CalatogOpExecutor.java.

Updated the tests according to the new behavior.

Change-Id: Ic542fb8e49e850052416ac663ee329ee3974e3b9
Reviewed-on: http://gerrit.cloudera.org:8080/9090
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2018-04-11 02:21:48 +00:00

30 lines
546 B
Plaintext

====
---- QUERY
create external table tbl
(c0 string, c1 string, c2 string, c3 int, c4 int, c5 int)
row format delimited fields terminated by ','
location 'file://$IMPALA_HOME/testdata/data/local_tbl'
---- RESULTS
'Table has been created.'
====
---- QUERY
describe tbl
---- RESULTS
'c0','string',''
'c1','string',''
'c2','string',''
'c3','int',''
'c4','int',''
'c5','int',''
---- TYPES
STRING, STRING, STRING
====
---- QUERY
select * from tbl
---- RESULTS
'a','b','c',1,2,3
'x','y','z',9,8,7
---- TYPES
STRING, STRING, STRING, INT, INT, INT
====