drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-66) In "order" logical operator, specify whether nulls collate first or last
Date Thu, 06 Jun 2013 01:18:20 GMT

     [ https://issues.apache.org/jira/browse/DRILL-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Nadeau resolved DRILL-66.
---------------------------------

    Resolution: Fixed
    
> 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