[
https://issues.apache.org/jira/browse/CALCITE-5625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17707121#comment-17707121
]
Julian Hyde commented on CALCITE-5625:
--------------------------------------
It seems to me the bug is that RelJson cannot serialize SEARCH. (And so the
summary should say that.)
One possible fix (as you say, a workaround) is to expand SEARCH.
But the better fix is to make SEARCH serializable. Is the workaround
significantly cheaper? Generally doing the right thing turns out to be cheaper
in the long run.
> Expand SEARCH RexNode when converting toJson
> ---------------------------------------------
>
> Key: CALCITE-5625
> URL: https://issues.apache.org/jira/browse/CALCITE-5625
> Project: Calcite
> Issue Type: Sub-task
> Reporter: Oliver Lee
> Priority: Major
>
> Because the Sarg class is not able to be serialized/deserialized to/from
> JSON, we would like to expand the SEARCH RexNode as a workaround.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)