Derby
  1. Derby
  2. DERBY-4087

Clean up debug printing of the abstract syntax trees after parsing, binding and optimization

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.6.1.0
    • Component/s: Miscellaneous, SQL
    • Labels:
      None

      Description

      Currently, the printing is often inconsistent:

      • some subtrees not printed
      • wrong indentation due to missing newlines, or lacking level increments
      • redundant printing of subtrees (AST is really a DAG, would be nice to print only once and then refer back to show aliasing)
      • some items printed twice due to inconsistent usage of pattern
      1. sample.log
        26 kB
        Dag H. Wanvik
      2. dumpquery
        2 kB
        Dag H. Wanvik
      3. derby-4087-statistics.stat
        2 kB
        Dag H. Wanvik
      4. derby-4087-statistics.diff
        802 kB
        Dag H. Wanvik
      5. derby-4087-b.stat
        4 kB
        Dag H. Wanvik
      6. derby-4087-b.diff
        53 kB
        Dag H. Wanvik
      7. derby-4087-a.stat
        3 kB
        Dag H. Wanvik
      8. derby-4087-a.diff
        41 kB
        Dag H. Wanvik

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Dag H. Wanvik
            Reporter:
            Dag H. Wanvik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development