/tags/release-0.0.0-rc0/hive/external/ql/src/test/queries/clientpositive/input_testxpath2.q
text | 10 lines | 7 code | 3 blank | 0 comment | 0 complexity | f0a947f82b88ea562f7c0035e73e8a64 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
- CREATE TABLE dest1(lint_size INT, lintstring_size INT, mstringstring_size INT) STORED AS TEXTFILE;
- EXPLAIN
- FROM src_thrift
- INSERT OVERWRITE TABLE dest1 SELECT size(src_thrift.lint), size(src_thrift.lintstring), size(src_thrift.mstringstring) where src_thrift.lint IS NOT NULL AND NOT (src_thrift.mstringstring IS NULL);
- FROM src_thrift
- INSERT OVERWRITE TABLE dest1 SELECT size(src_thrift.lint), size(src_thrift.lintstring), size(src_thrift.mstringstring) where src_thrift.lint IS NOT NULL AND NOT (src_thrift.mstringstring IS NULL);
- SELECT dest1.* FROM dest1;