PageRenderTime 20ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.2.0-rc0/hive/external/contrib/src/test/queries/clientpositive/udtf_output_on_close.q

#
text | 9 lines | 5 code | 4 blank | 0 comment | 0 complexity | b6fe7454b38915dd8d03fdcca70afd1d MD5 | raw file
1add jar ${system:build.dir}/hive-contrib-${system:hive.version}.jar;
2
3CREATE TEMPORARY FUNCTION udtfCount2 AS 'org.apache.hadoop.hive.contrib.udtf.example.GenericUDTFCount2';
4
5SELECT udtfCount2(key) AS count FROM src;
6
7SELECT * FROM src LATERAL VIEW udtfCount2(key) myTable AS myCol;
8
9DROP TEMPORARY FUNCTION udtfCount;