执行配置单元合并时出错

时间:2017-02-09 09:00:12

标签: hive

我在查询下面运行:

MERGE INTO college_for_mrg AS T USING college AS S ON clg_name = clg_name 
WHEN MATCHED AND clg_id > 5 
THEN UPDATE SET clg_loc = "ind" 
WHEN NOT MATCHED 
THEN INSERT VALUES(2,"sd","dsd","dsfs");

两个表都支持酸性。

我还在查询中尝试了表名database_name.table_name,但仍然给出了同样的错误。

  

错误:FAILED:ParseException第3行:0无法识别附近的输入   'MERGE''INTO''college_for_mrg'

1 个答案:

答案 0 :(得分:0)

JIRA门票状态为" IN PROGRESS"

1

然而,最近的发展似乎已经结束了

add support for MERGE statement