[ 
https://issues.apache.org/jira/browse/PARQUET-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854888#comment-15854888
 ] 

Julian Hyde commented on PARQUET-686:
-------------------------------------

In Calcite, a collation is a character set, a dollar separator, a locale, a 
dollar separator, and a strength. Thus: {{COLLATE "ISO-8859-1$en_US$primary"}}. 
I have not had time to check how/whether that jibes with the SQL standard. It 
does seem to align somewhat with 
[java.text.Collator|http://docs.oracle.com/javase/8/docs/api/java/text/Collator.html],
 which has locale and strength.

> Allow for Unsigned Statistics in Binary Type
> --------------------------------------------
>
>                 Key: PARQUET-686
>                 URL: https://issues.apache.org/jira/browse/PARQUET-686
>             Project: Parquet
>          Issue Type: Bug
>            Reporter: Andrew Duffy
>
> BinaryStatistics currently only have a min/max, which are compared as signed 
> {{byte[]}}. However, for real UTF8-friendly lexicographic comparison, e.g. 
> for string columns, we would want to calculate the BinaryStatistics based off 
> of a comparator that treats the bytes as unsigned.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to