hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajat Khandelwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12994) Implement support for NULLS FIRST/NULLS LAST
Date Mon, 07 Mar 2016 14:27:40 GMT

    [ https://issues.apache.org/jira/browse/HIVE-12994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183059#comment-15183059
] 

Rajat Khandelwal commented on HIVE-12994:
-----------------------------------------

I think the patch has an issue. One more string constant has been added in serdeConstants.java.
But serdeConstants.java is generated from serde.thrift. So the field should exist in serde.thrift
to not get dropped in regeneration. 

mvn clean install -Pthriftif would fail without it. 

> Implement support for NULLS FIRST/NULLS LAST
> --------------------------------------------
>
>                 Key: HIVE-12994
>                 URL: https://issues.apache.org/jira/browse/HIVE-12994
>             Project: Hive
>          Issue Type: New Feature
>          Components: CBO, Parser, Serializers/Deserializers
>    Affects Versions: 2.1.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>              Labels: TODOC2.1
>             Fix For: 2.1.0
>
>         Attachments: HIVE-12994.01.patch, HIVE-12994.02.patch, HIVE-12994.03.patch, HIVE-12994.04.patch,
HIVE-12994.05.patch, HIVE-12994.06.patch, HIVE-12994.06.patch, HIVE-12994.07.patch, HIVE-12994.08.patch,
HIVE-12994.09.patch, HIVE-12994.10.patch, HIVE-12994.11.patch, HIVE-12994.12.patch, HIVE-12994.patch
>
>
> From SQL:2003, the NULLS FIRST and NULLS LAST options can be used to determine whether
nulls appear before or after non-null data values when the ORDER BY clause is used.
> SQL standard does not specify the behavior by default. Currently in Hive, null values
sort as if lower than any non-null value; that is, NULLS FIRST is the default for ASC order,
and NULLS LAST for DESC order.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message