The query is not working. What's wrong?
Hive Query:
create Table copy_table
as select * from old_table as old
where column_A = 'ABC'
and column_B is null
and column_C = 'VAL'
group by column_D
order by column_E desc
Error message:
Error while compiling statement: FAILED: SemanticException [Error 10025]: Expression not in GROUP BY key p_dt