There are duplicate keys for testProjectCorrelateTranspose in RelOptRulesTest.xml[1][2]. We should add a test to make it fail when having duplicate keys in a .xml file.
[1] https://github.com/apache/calcite/blob/master/core/src/test/resources/org/apache/calcite/test/RelOptRulesTest.xml#L9226
[2] https://github.com/apache/calcite/blob/master/core/src/test/resources/org/apache/calcite/test/RelOptRulesTest.xml#L9253
- links to