drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Hyde (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-66) In "order" logical operator, specify whether nulls collate first or last
Date Wed, 22 May 2013 08:01:21 GMT
Julian Hyde created DRILL-66:
--------------------------------

             Summary: In "order" logical operator, specify whether nulls collate first or
last
                 Key: DRILL-66
                 URL: https://issues.apache.org/jira/browse/DRILL-66
             Project: Apache Drill
          Issue Type: New Feature
            Reporter: Julian Hyde
            Priority: Minor


To support SQL "nulls collate [first|last]" syntax (e.g. "select * from emp order by deptId
desc nulls last, name asc nulls first"), add a "nullCollation" property to the "order" operator.
Syntax would be as follows:

{ @id†: <opref>, op: “order”, 
  input†: <input>,
  within*: <name>,
  ordering: [
    {order: <desc|asc>, nullCollation: <first|last>, expr: <expr>}, ...
  ]
}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message