[ https://issues.apache.org/jira/browse/DRILL-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Nadeau closed DRILL-66.
-------------------------------
Resolution: Fixed
Fixed in changeset 0f8cccb3dd1f97433fcb50dd41b23be9c443d1b6
Added specification in Drill Syntax doc.
> 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
|