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

Make sure assertions are enabled before calling VolcanoPlanner#validate

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.18.0
    • core
    • None

    Description

      VolcanoPlanner#validate() is invoked if the log level is debug or lower. But considering how enabling this method slows down the whole planning (changing it for running tests make the whole duration several hours), and this is some kind of assertion (since it throws AssertionError, I would suggest to only enable it when assertions are enabled

      Attachments

        Issue Links

          Activity

            People

              laurent Laurent Goujon
              laurent Laurent Goujon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: