mirror of
https://github.com/apache/impala.git
synced 2026-01-02 03:00:32 -05:00
Testing: Ran hdfs/core and localfs/core private builds. Change-Id: I0720458882ac3b1138deccf9af0ee57bf2eed7dc Reviewed-on: http://gerrit.cloudera.org:8080/3334 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Alex Behm <alex.behm@cloudera.com>
29 lines
520 B
Plaintext
29 lines
520 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
|
|
====
|
|
---- 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
|
|
====
|