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

RelBuilder#empty does not keep aliases

    XMLWordPrintableJSON

Details

    Description

      RelBuilder#empty method "Creates a relational expression that reads from an input and throws all of the rows away... The default implementation creates a Values with the same specified row type as the input". However, even though the "original" row-type is kept, its aliases are lost, which can lead to issues when building a plan (especially because this method is used internally by other methods, e.g. by RelBuilder#filter with an "always false" filter).

      Attachments

        Issue Links

          Activity

            People

              rubenql Ruben Q L
              rubenql Ruben Q L
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m