You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2015/04/07 03:41:12 UTC
[jira] [Updated] (CALCITE-671) ByteString does not deserialize
properly as a FetchRequest parameterValue
[ https://issues.apache.org/jira/browse/CALCITE-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Dimiduk updated CALCITE-671:
---------------------------------
Attachment: 671.patch
Here's a patch that includes a test to demonstrate the problem. Adding JsonTypeInfo and JsonCreator annotations don't appear to help (I'm doing it wrong?)
> ByteString does not deserialize properly as a FetchRequest parameterValue
> -------------------------------------------------------------------------
>
> Key: CALCITE-671
> URL: https://issues.apache.org/jira/browse/CALCITE-671
> Project: Calcite
> Issue Type: Bug
> Reporter: Nick Dimiduk
> Assignee: Julian Hyde
> Attachments: 671.patch
>
>
> I think the reason here is that FetchRequest#parameterValues is declared as a List<Object>, which Jackson interprets as a request to serialize as plain objects (see [Deserializing, other|http://wiki.fasterxml.com/JacksonFAQ]).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)