简体   繁体   中英

Hive query getting failed while trying to use TEZ engine

I am trying to execute the below query using the TEZ engine which got executed successfully in MR engine.

 set hive.execution.engine=tez;SET hive.exec.dynamic.partition = true; SET hive.exec.dynamic.partition.mode = nonstrict;SET hive.exec.compress.output=true;SET mapred.output.compression.codec=org.apache.hadoop.io.compress.SnappyCodec; insert overwrite table df.test_table PARTITION (load_date1) SELECT * df.SRC_test_table lower(STATUS)<>lower('STATUS');

Below is the log for the same.

在此处输入图片说明

Your help is appreciated.

Sorry but isn't your FROM statement missing? And Where clause...

Probably you might be hitting TEZ-2741.

can you try to run the query by setting below config

hive.compute.splits.in.am=false

After a couple of hits and trails, I had found that ';' is a must thing for this new version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM