[
https://issues.apache.org/jira/browse/HIVE-16541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gopal V updated HIVE-16541:
---------------------------
Attachment: HIVE-16541.1.patch
> PTF: Avoid shuffling constant keys for empty OVER()
> ---------------------------------------------------
>
> Key: HIVE-16541
> URL: https://issues.apache.org/jira/browse/HIVE-16541
> Project: Hive
> Issue Type: Bug
> Components: PTF-Windowing
> Affects Versions: 3.0.0
> Reporter: Gopal V
> Assignee: Gopal V
> Attachments: HIVE-16541.1.patch
>
>
> Generating surrogate keys with
> {code}
> select row_number() over() as p_key, * from table;
> {code}
> uses a sorted edge with "0 ASC NULLS FIRST" as the sort order.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)