[
https://issues.apache.org/jira/browse/HIVE-23706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krisztian Kasa updated HIVE-23706:
----------------------------------
Description:
{code}
INSERT INTO t(a) VALUES (1), (null), (3), (2), (2), (2);
SELECT a FROM t ORDER BY a DESC NULLS FIRST
{code}
should return
{code}
3
2
2
2
1
null
{code}
was:
{code}
INSERT INTO t(a) VALUES (1, null, 3, 2, 2, 2)
SELECT a FROM t ORDER BY a DESC NULLS FIRST
{code}
should return
{code}
3
2
2
2
1
null
{code}
> Fix nulls first sorting behavior
> --------------------------------
>
> Key: HIVE-23706
> URL: https://issues.apache.org/jira/browse/HIVE-23706
> Project: Hive
> Issue Type: Bug
> Components: Parser
> Reporter: Krisztian Kasa
> Assignee: Krisztian Kasa
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {code}
> INSERT INTO t(a) VALUES (1), (null), (3), (2), (2), (2);
> SELECT a FROM t ORDER BY a DESC NULLS FIRST
> {code}
> should return
> {code}
> 3
> 2
> 2
> 2
> 1
> null
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)