Investigate a segfault when not rebuilding VariableEnvironment after memo implementation phase

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After running the memo implementation phase, we currently rebuild the env for each resulting plan here. The rebuild and the following assertion were initially added for debugging purposes but now appear to be hiding a bug that can cause a segmentation fault if the env is not rebuilt after running physical rewrites. We should investigate and fix the segfault, and only call rebuild in debug builds. See this comment for a more detailed description of the segmentation fault.

              Assignee:
              [DO NOT USE] Backlog - Query Optimization
              Reporter:
              Henri Nikku
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: