blob: cf1071d8dff9d33a725f97f90d6e17bd4f5fa70a [file] [log] [blame]
--! qt:dataset:alltypesorc
ADD JAR ivy://org.apache.hive.hive-it-custom-udfs:udf-vectorized-badexample:+;
set hive.fetch.task.conversion=none;
CREATE TEMPORARY FUNCTION rot13 as 'hive.it.custom.udfs.GenericUDFRot13';
set hive.vectorized.execution.enabled=true;
EXPLAIN VECTORIZATION EXPRESSION SELECT rot13(cstring1) from alltypesorc;
SELECT cstring1, rot13(cstring1) from alltypesorc order by cstring1 desc limit 10;
set hive.vectorized.execution.enabled=false;
set hive.test.vectorized.execution.enabled.override=disable;
SELECT cstring1, rot13(cstring1) from alltypesorc order by cstring1 desc limit 10;