Tanner Clary created CALCITE-6323:
-------------------------------------
Summary: 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
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)