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
Post a Comment