Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4977

Support Snapshot in RelMdColumnOrigins

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.29.0
    • 1.30.0
    • core

    Description

      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:

      select productid from products_temporal
      for system_time as of timestamp '2011-01-02 00:00:00' 

      The origin column of `productid` is NULL.

      We could simply propagate the call to its children like many other RelNode types do.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lmagics Q Kang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m