Hai:
class:
/home/wyl/code_source/apache-calcite-1.5.0-src/core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java.
i am confused by the red word below link, i want to know where i can find the
ref file,i want to verify after optimization,the result is the same semanteme。
thanks you!
/**
* Unit test for rules in {@code org.apache.calcite.rel} and subpackages.
*
* <p>As input, the test supplies a SQL statement and a single rule; the SQL is
* translated into relational algebra and then fed into a
* {@link org.apache.calcite.plan.hep.HepPlanner}. The planner fires the rule on
* every
* pattern match in a depth-first left-to-right preorder traversal of the tree
* for as long as the rule continues to succeed in applying its transform. (For
* rules which call transformTo more than once, only the last result is used.)
* The plan before and after "optimization" is diffed against a .ref file using
* {@link DiffRepository}.