Skip to content

Commit

Permalink
Modify test log4j2.xml to hint how to debug calcite rules (#14680)
Browse files Browse the repository at this point in the history
  • Loading branch information
gortiz authored Dec 18, 2024
1 parent 6286109 commit 1c07aa4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pinot-query-runtime/src/test/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
<!-- <Logger name="org.apache.pinot.query" level="trace" additivity="false">-->
<!-- <AppenderRef ref="console"/>-->
<!-- </Logger>-->

<!-- Change level to DEBUG in order to log the optimization process -->
<logger name="org.apache.calcite.plan.RelOptPlanner" level="ERROR" additivity="false">
<!-- Change onMatch to ACCEPT, to see the produced plan after every rule invocation using the EXPLAIN format-->
<MarkerFilter marker="FULL_PLAN" onMatch="DENY" onMismatch="NEUTRAL"/>
</logger>
<Root level="error">
<AppenderRef ref="console"/>
</Root>
Expand Down

0 comments on commit 1c07aa4

Please sign in to comment.