Gopal V created HIVE-16541:
------------------------------
Summary: 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
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)