You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "duan xiong (Jira)" <ji...@apache.org> on 2022/01/11 06:40:00 UTC

[jira] [Commented] (CALCITE-4977) Support Snapshot in RelMdColumnOrigins

    [ https://issues.apache.org/jira/browse/CALCITE-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472491#comment-17472491 ] 

duan xiong commented on CALCITE-4977:
-------------------------------------

Fixed in [8eaa7a7|https://github.com/apache/calcite/commit/8eaa7a7037228fa1d52bc9fe4e78b0ec32fb4638]. Thanks for your PR [~lmagics]. Thanks for your review [~asolimando].

> 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
>          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)