/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
- DESCRIBE FUNCTION struct;
- DESCRIBE FUNCTION EXTENDED struct;
- EXPLAIN
- SELECT struct(1), struct(1, "a"), struct(1, "b", 1.5).col1, struct(1, struct("a", 1.5)).col2.col1
- FROM src LIMIT 1;
- SELECT struct(1), struct(1, "a"), struct(1, "b", 1.5).col1, struct(1, struct("a", 1.5)).col2.col1
- FROM src LIMIT 1;