PageRenderTime 10ms CodeModel.GetById 5ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.0.0-rc0/hive/external/ql/src/test/queries/clientpositive/udf_struct.q

#
text | 9 lines | 7 code | 2 blank | 0 comment | 0 complexity | c0fd3ac06fd22efa1e8b78b07797ca80 MD5 | raw file
1DESCRIBE FUNCTION struct;
2DESCRIBE FUNCTION EXTENDED struct;
3
4EXPLAIN
5SELECT struct(1), struct(1, "a"), struct(1, "b", 1.5).col1, struct(1, struct("a", 1.5)).col2.col1
6FROM src LIMIT 1;
7
8SELECT struct(1), struct(1, "a"), struct(1, "b", 1.5).col1, struct(1, struct("a", 1.5)).col2.col1
9FROM src LIMIT 1;