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

Print the plan text when plan pattern check fails in unit tests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11.0
    • Component/s: None
    • Labels:

      Description

      If we have a unit test did not generate expected plan, we will print only the expected pattern like this:

      Did not find expected pattern in plan: Scan.*FindLimit0Visitor"

      We should also print the plan here for debugging purpose.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cshi Chunhui Shi
                Reporter:
                cshi Chunhui Shi
                Reviewer:
                Paul Rogers
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: