Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/kotlin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hadoop-Hive 2 ParseException-无法识别';超过'';表达式规范中的分区_Hadoop_Hive - Fatal编程技术网

Hadoop-Hive 2 ParseException-无法识别';超过'';表达式规范中的分区

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

由于升级到Hive 2,我查询中的这一行失败,给了我
失败: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分区))/*