Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-340

Ensure methods intended to create new copies of plan nodes are actually creating copies of all nested objects

    XMLWordPrintableJSON

Details

    Description

      Methods such as getNewWithChildren declared in the PhysicalOperator interface are designed to create copies of plan nodes. These copy operations should not reference any part of the old nodes, thus child objects should be deep copied, including lists of objects. For more information on the desired functionality see here: http://en.wikipedia.org/wiki/Clone_(Java_method)

      Existing implementations should be checked for correctness. We may want to create this functionality for logical operators as well, but I do not believe that we should need to do manipulations on logical plans that would require it. Our optimization of plans will happen in the logical to physical plan transformation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jaltekruse Jason Altekruse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: