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

Julian Hyde commented on CALCITE-4891:
--------------------------------------

Do we have any tests for UUID fields? If not, this is basically a feature 
request, "Support UUID fields". I haven't checked the spec, but it seems 
reasonable to retrieve UUID fields (i.e. fields whose declared SQL type is 
UUID) as java.lang.String, java.util.UUID and byte[]. Any others?

> Avatica can't handle uuid fields saying 'Cannot handle class java.util.UUID 
> as bytes'
> -------------------------------------------------------------------------------------
>
>                 Key: CALCITE-4891
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4891
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>    Affects Versions: avatica-1.19.0
>            Reporter: Jamie Taylor
>            Priority: Major
>
> When I try and fetch a value of type UUID through an avatica proxy I get an 
> error saying 'Cannot handle class java.util.UUID as bytes'
> If I change the serilisation from json to protobuf I still get the exact same 
> error.
> Other types that aren't supported such as blob give messages saying they 
> aren't supported, which makes this look like a bug.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to