Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 48CA718BC0 for ; Thu, 3 Mar 2016 00:49:18 +0000 (UTC) Received: (qmail 59270 invoked by uid 500); 3 Mar 2016 00:49:18 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 59244 invoked by uid 500); 3 Mar 2016 00:49:18 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 59209 invoked by uid 99); 3 Mar 2016 00:49:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2016 00:49:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 18D752C1F58 for ; Thu, 3 Mar 2016 00:49:18 +0000 (UTC) Date: Thu, 3 Mar 2016 00:49:18 +0000 (UTC) From: "Lefty Leverenz (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-12994) Implement support for NULLS FIRST/NULLS LAST MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-12994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lefty Leverenz updated HIVE-12994: ---------------------------------- Labels: TODOC2.1 (was: ) > 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)