[ 
https://issues.apache.org/jira/browse/CALCITE-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

TJ Banghart updated CALCITE-5514:
---------------------------------
    Description: 
CALCITE-5349 added several improvements for creating 
{{org.apache.calcite.rel.externalize.RelJson}} such as the {{withOperatorTable, 
withLibraryOperatorTable}} and, {{withJsonBuilder}} methods. 

However, the only method to deserialize JSON with the {{RelJson}} class is a 
the {{static}} {{readExpression()}} which creates a generic {{RelJson}}. 

It would be advantageous to have a {{RelJson}} instance method capable of 
deserializing JSON into a {{RexNode}} after it has been customized.

  was:
CALCITE-5349 added several improvements for creating 
{{org.apache.calcite.rel.externalize.RelJson}} such as {{withOperatorTable, 
withLibraryOperatorTable}} and, {{withJsonBuilder}}. 

However, the only method to deserialize JSON with the {{RelJson}} class is a 
the {{static}} {{readExpression()}} which creates a generic {{RelJson}}. 


> Add a public toRex() instance method for RelJson
> ------------------------------------------------
>
>                 Key: CALCITE-5514
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5514
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.32.0
>            Reporter: TJ Banghart
>            Assignee: TJ Banghart
>            Priority: Minor
>             Fix For: 1.33.0
>
>
> CALCITE-5349 added several improvements for creating 
> {{org.apache.calcite.rel.externalize.RelJson}} such as the 
> {{withOperatorTable, withLibraryOperatorTable}} and, {{withJsonBuilder}} 
> methods. 
> However, the only method to deserialize JSON with the {{RelJson}} class is a 
> the {{static}} {{readExpression()}} which creates a generic {{RelJson}}. 
> It would be advantageous to have a {{RelJson}} instance method capable of 
> deserializing JSON into a {{RexNode}} after it has been customized.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to