jon-wei commented on a change in pull request #6745: add version comparator for 
StringComparator
URL: https://github.com/apache/incubator-druid/pull/6745#discussion_r242735576
 
 

 ##########
 File path: docs/content/querying/sorting-orders.md
 ##########
 @@ -47,3 +47,6 @@ When comparing two unparseable values (e.g., "hello" and 
"world"), this ordering
 
 ## Strlen
 Sorts values by the their string lengths. When there is a tie, this comparator 
falls back to using the String compareTo method.
+
+## Version
+Sorts values as versions, e.g.: "10.0 sorts after 9.0"
 
 Review comment:
   Can you add some more docs here, explaining that this uses 
`org.apache.maven.artifact.versioning.DefaultArtifactVersion` comparison rules?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to