Haohui Mai created FLINK-24485:
----------------------------------

             Summary: COUNT(DISTINCT) should support binary field
                 Key: FLINK-24485
                 URL: https://issues.apache.org/jira/browse/FLINK-24485
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / API
    Affects Versions: 1.14.0
            Reporter: Haohui Mai


Current the SQL API fails when doing {{COUNT(DISTINCT)}} on a binary field. In 
our use case we store the UUID as a 16-byte binary string.

While it is possible to work around to do a base64 encoding on the string but 
it should be relatively straightforward to implement the native solution to 
gain the optimal speed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to