[
https://issues.apache.org/jira/browse/CALCITE-5755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17730346#comment-17730346
]
Oliver Lee commented on CALCITE-5755:
-------------------------------------
PR: https://github.com/apache/calcite/pull/3255
> Add to Sarg serialization/deserialization TimestampString
> ---------------------------------------------------------
>
> Key: CALCITE-5755
> URL: https://issues.apache.org/jira/browse/CALCITE-5755
> Project: Calcite
> Issue Type: Sub-task
> Reporter: Oliver Lee
> Assignee: Oliver Lee
> Priority: Minor
>
> Currently Sarg serialization/deserialization allows for 6 types
> [https://github.com/apache/calcite/blob/967bb5acc5448bc8d6ee9b9f5fa3c5f0d71405c2/core/src/main/java/org/apache/calcite/rel/externalize/RelJson.java#L113]
> and doesn't include {{TimestampString}}
>
> Currently when a timestamp string comes in, it will not throw an error, but
> will deserialize incorrectly as a {{Date}} set to the epoch beginning.
> Desired outcome: Be able to serialize / deserialize SEARCH operators that
> contain Timestamp string literals.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)