You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksey Plekhanov (Jira)" <ji...@apache.org> on 2021/12/23 09:03:00 UTC
[jira] [Commented] (IGNITE-16129) Calcite engine. RelJsonReader can't deserialize enums
[ https://issues.apache.org/jira/browse/IGNITE-16129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464375#comment-17464375 ]
Aleksey Plekhanov commented on IGNITE-16129:
--------------------------------------------
[~ivandasch], thanks for the review! Merged to sql-calcite branch.
> Calcite engine. RelJsonReader can't deserialize enums
> -----------------------------------------------------
>
> Key: IGNITE-16129
> URL: https://issues.apache.org/jira/browse/IGNITE-16129
> Project: Ignite
> Issue Type: Bug
> Reporter: Aleksey Plekhanov
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: calcite2-required, calcite3-required
> Time Spent: 10m
> Remaining Estimate: 0h
>
> If some remote fragment of plan contains nodes reading enums (for example {{IgniteTableSpool}} reads {{Spool.Type}} enum) deserialization fails on method {{getEnum}}. This method uses {{Util.enumVal}}, but not all type of enums registered here, the method {{relJson.toEnum(get(tag))}} should be used to read enums instead.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)