Hadoop-Hive 2 ParseException-无法识别';超过'';表达式规范中的分区
由于升级到Hive 2,我查询中的这一行失败,给了我Hadoop-Hive 2 ParseException-无法识别';超过'';表达式规范中的分区,hadoop,hive,Hadoop,Hive,由于升级到Hive 2,我查询中的这一行失败,给了我失败:ParseException行41:50无法识别“over”(表达式规范中的“partition”)附近的输入 select tempTable.*, (tempTable.rowrank - 1)/(max(tempTable.tableRowRank)) over (partition by tempTable.column1) percent 这在配置单元服务器1中运行良好 ??????刚刚解决了一个类似的问题 select te
失败:ParseException行41:50无法识别“over”(表达式规范中的“partition”)附近的输入
select tempTable.*, (tempTable.rowrank - 1)/(max(tempTable.tableRowRank)) over (partition by tempTable.column1) percent
这在配置单元服务器1中运行良好
??????刚刚解决了一个类似的问题
select tempTable.*, (tempTable.rowrank - 1)/(max(tempTable.tableRowRank) over (partition by tempTable.column1))/*<===== Close here*/ as percent
select tentable.*(tentable.rowrank-1)/(max(tentable.tableRowRank)over(按tentable.column1分区))/*