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

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -