hadoop - Delete table from hive not working -


i want delete rows table column c greater max of column c of table b

i tried

delete * a.p >= (select max(t.c) b t) 

but not working . how can achieve this?

the insert ... values, update, , delete statements require following property values in hive-site.xml configuration file:

hive.enforce.bucketing               true  hive.exec.dynamic.partition.mode    nonstrict 

after updating configuration in corresponding hive-site.xml, restart services – hiveserver2 , hive metastore.

then, use hql

delete a.p >= (select max(t.c) b t) 

Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -