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

When creating a RelOptMaterialization, if row types are not identical, create a cast using a custom RelBuilder

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.25.0
    • None
    • core

    Description

      RelOptMaterialization may add a Project on top of tableRel. This is always a LogicalProject since the RelFactories.ProjectFactory is hardcoded to RelFactories.DEFAULT_PROJECT_FACTORY.

      Some projects like Hive specifies its custom operators and custom RelFactories instead of using the built in Logical ones.
      Example:

      public class HiveProject extends Project
      

      Attachments

        Issue Links

          Activity

            People

              kkasa Krisztian Kasa
              kkasa Krisztian Kasa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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