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)

Reply via email to