Skip to content
Advertisement

Hive throwing ParseException while exporting a csv

Running this code, I am trying to export a csv but I get the following error:

ParseException line 2:3 cannot recognize input near ‘MIN’ ‘(‘ ‘HIGH’ in expression specification

Advertisement

Answer

Try to add table alias (d) and use select d.* instead of select *:

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement