Skip to content

[CALCITE-2537] Use litmus for VolcanoPlanner#validate#820

Closed
laurentgo wants to merge 1 commit intoapache:masterfrom
laurentgo:laurentgo/CALCITE-2537
Closed

[CALCITE-2537] Use litmus for VolcanoPlanner#validate#820
laurentgo wants to merge 1 commit intoapache:masterfrom
laurentgo:laurentgo/CALCITE-2537

Conversation

@laurentgo
Copy link
Copy Markdown
Contributor

VolcanoPlanner#validate() throws exception if validation fail, but this
only happens if the logger level is debug or finer. As changing log level
should not have control side effects, this might throw users off.

This change changes void VolcanoPlanner#validate() into
boolean VolcanoPlanner#isValid(Litmus) and this method is only called
if assertions are enabled.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants