Using not equal symbol in hive query -
Using not equal symbol in hive query -
i need utilize '!=' symbol in hive query partitions. tried like
from sample_table insert overwrite table sample1 partition (src='a') select * act=10 insert overwrite table sample1 partition (src!='a') select * act=20
but showing error @ '!=' symbol. how can replace !=
try utilize rlike/regex function in hive specify condition.
i think can utilize not operator <>
not !=
hive
Comments
Post a Comment