[
https://issues.apache.org/jira/browse/CALCITE-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Liya Fan closed CALCITE-4977.
-----------------------------
Resolved in release 1.30.0 (2022-03-20)
> Support Snapshot in RelMdColumnOrigins
> --------------------------------------
>
> Key: CALCITE-4977
> URL: https://issues.apache.org/jira/browse/CALCITE-4977
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.29.0
> Reporter: Q Kang
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.30.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Currently `RelMdColumnOrigins` does not define a specialized method for
> `Snapshot` node. Thus, a request for origin column on a temporal query will
> always return NULL.
> For example:
> {code:java}
> select productid from products_temporal
> for system_time as of timestamp '2011-01-02 00:00:00' {code}
> The origin column of `productid` is NULL.
> We could simply propagate the call to its children like many other RelNode
> types do.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)