报错 FAILED: Error in semantic analysis: Top level UNION is not supported currently; use a subquery for the UNION
经查询,hive进行union 查询时, union只能作为子集
select * from (select count(*) from table_a union select count(*) from table_b)a
报错 FAILED: Error in semantic analysis: Top level UNION is not supported currently; use a subquery for the UNION
经查询,hive进行union 查询时, union只能作为子集
select * from (select count(*) from table_a union select count(*) from table_b)a