我需要在我的hive查询中使用带有分区的'!='符号.我试过类似的东西
from sample_table
insert overwrite table sample1
partition (src='a')
select * where act=10
insert overwrite table sample1
partition (src!='a')
select * where act=20
Run Code Online (Sandbox Code Playgroud)
但它在'!='符号处显示错误.我该怎么替换!=