0

此查询的语法有什么问题 -

INSERT overwrite TABLE access_performance_partition
SELECT request
    ,exec_time
    ,rank() OVER (
        PARTITION BY request ORDER BY cast(exec_time AS BIGINT) DESC
        ) AS AddedRank
    ,count(*) OVER (PARTITION BY request) AS RequestCount
FROM access_performance;

它正在显示

-FAILED: Parse Error: line 4:39 mismatched input '(' expecting FROM near 'over' in from clause
4

1 回答 1

0

你有哪个蜂巢版本?看起来它从 0.11 开始支持,请参阅https://issues.apache.org/jira/browse/HIVE-4048

于 2013-10-28T20:44:27.417 回答