[jira] [Updated] (CALCITE-6323) Serialize return type during RelJson.toJson(RexNode node) for SqlKind.SAFE_CAST
[ https://issues.apache.org/jira/browse/CALCITE-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Nuyanzin updated CALCITE-6323: - Fix Version/s: 1.37.0 > Serialize return type during RelJson.toJson(RexNode node) for > SqlKind.SAFE_CAST > --- > > Key: CALCITE-6323 > URL: https://issues.apache.org/jira/browse/CALCITE-6323 > Project: Calcite > Issue Type: Bug >Reporter: Tanner Clary >Assignee: Tanner Clary >Priority: Major > Labels: pull-request-available > Fix For: 1.37.0 > > > This is essentially the exact same as [CALCITE-5607] for > SqlKind.SAFE_CAST[1]. We need to preserve the desired cast type so that when > going from json->rex, we know what type we want to cast to. We do this for > the standard CAST, so we're really just trying to align the two functions. > [1] > https://github.com/apache/calcite/blob/main/core/src/main/java/org/apache/calcite/rel/externalize/RelJson.java#L635 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CALCITE-6323) Serialize return type during RelJson.toJson(RexNode node) for SqlKind.SAFE_CAST
[ https://issues.apache.org/jira/browse/CALCITE-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-6323: Labels: pull-request-available (was: ) > Serialize return type during RelJson.toJson(RexNode node) for > SqlKind.SAFE_CAST > --- > > Key: CALCITE-6323 > URL: https://issues.apache.org/jira/browse/CALCITE-6323 > Project: Calcite > Issue Type: Bug >Reporter: Tanner Clary >Assignee: Tanner Clary >Priority: Major > Labels: pull-request-available > > This is essentially the exact same as [CALCITE-5607] for > SqlKind.SAFE_CAST[1]. We need to preserve the desired cast type so that when > going from json->rex, we know what type we want to cast to. We do this for > the standard CAST, so we're really just trying to align the two functions. > [1] > https://github.com/apache/calcite/blob/main/core/src/main/java/org/apache/calcite/rel/externalize/RelJson.java#L635 -- This message was sent by Atlassian Jira (v8.20.10#820010)