You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Q Kang (Jira)" <ji...@apache.org> on 2022/01/09 13:11:00 UTC
[jira] [Created] (CALCITE-4977) Support Snapshot in RelMdColumnOrigins
Q Kang created CALCITE-4977:
-------------------------------
Summary: 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
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)