Github user laurentgo commented on a diff in the pull request:
https://github.com/apache/drill/pull/775#discussion_r104813282
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/work/metadata/ServerMetaProvider.java
---
@@ -76,7 +76,7 @@
.setReadOnly(false)
.setGroupBySupport(GroupBySupport.GB_UNRELATED)
.setLikeEscapeClauseSupported(true)
- .setNullCollation(NullCollation.NC_AT_END)
+ .setNullCollation(NullCollation.NC_HIGH)
--- End diff --
I'm not sure if the last sentence is correct. If user specified DESC, and
null collation is unspecified, then null should sort first, no (if always
HIGH). NC_HIGH seems then the correct value (unless the default can be changed
in the planner configuration).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---