You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Lukas Lalinsky (JIRA)" <ji...@apache.org> on 2015/06/30 23:54:05 UTC

[jira] [Created] (CALCITE-781) Binary data handling in Avatica

Lukas Lalinsky created CALCITE-781:
--------------------------------------

             Summary: Binary data handling in Avatica
                 Key: CALCITE-781
                 URL: https://issues.apache.org/jira/browse/CALCITE-781
             Project: Calcite
          Issue Type: Bug
            Reporter: Lukas Lalinsky
            Assignee: Julian Hyde


This might be actually a Phoenix problem. If that's the case, please move the ticket.

When I try to insert a value into a BINARY(n) column, the server accepts only raw un-encoded data in input parameter (which means I can't send arbitrary binary data) and always returns base64-encoded data. It would be best to use the same encoding on both input and output, and given that JSON strings just can't handle binary data, base64 seems like the best solution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)