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

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

#
text | 5 lines | 5 code | 0 blank | 0 comment | 0 complexity | 557f99c6eabfe8fffeee80fb2b453c34 MD5 | raw file
1-- Verifies that script operator ID environment variables have unique values
2-- in each instance of the script operator.
3SELECT count(1) FROM
4( SELECT TRANSFORM('echo $HIVE_SCRIPT_OPERATOR_ID') USING 'bash' AS key FROM src LIMIT 1 UNION ALL
5  SELECT TRANSFORM('echo $HIVE_SCRIPT_OPERATOR_ID') USING 'bash' AS key FROM src LIMIT 1 ) a GROUP BY key;