查询1:
select a,b,c where table1 where datekey>='20240101' and datekey<='20241001' and event in ('A','B')
查询2:
select a,b,c where table1 where datekey>='20240101' and datekey<='20241001' and event='A' union all select a,b,c where table1 where datekey>='20240101' and datekey<='20241001' and event='B'
查询的表是paimon外部表