Error while converting Presto SQL to Hive SQL containing subquery
I am trying to convert the following Presto SQL to Hive SQL. The sub query in WHERE clause isn’t working in Hive and is throwing an error. select distinct id from account where load_date = (select max(load_date) from account) and account_status=’current’ and account_type=’crnt’ Please advise how I can fix this and make it work in… Read More Error while converting Presto SQL to Hive SQL containing subquery