You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2023/03/31 05:26:00 UTC

[jira] [Commented] (CALCITE-5625) Expand SEARCH RexNode when converting toJson

    [ 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)