Hadoop - Hive 2 ParseException - cannot recognize input near 'over' '(' 'partition' in expression specification -
since doing upgrade hive 2 line in query failing giving me failed: parseexception line 41:50 cannot recognize input near 'over' '(' 'partition' in expression specification
select temptable.*, (temptable.rowrank - 1)/(max(temptable.tablerowrank)) on (partition temptable.column1) percent
this works fine in hive server 1
???????
just had solve similar issue
select temptable.*, (temptable.rowrank - 1)/(max(temptable.tablerowrank) on (partition temptable.column1))/*<===== close here*/ percent
Comments
Post a Comment