You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Chunwei Lei (JIRA)" <ji...@apache.org> on 2019/04/17 02:36:00 UTC

[jira] [Created] (CALCITE-3009) It should fail if there are duplicate keys in a .xml file

Chunwei Lei created CALCITE-3009:
------------------------------------

             Summary: It should fail if there are duplicate keys in a .xml file
                 Key: CALCITE-3009
                 URL: https://issues.apache.org/jira/browse/CALCITE-3009
             Project: Calcite
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.19.0
            Reporter: Chunwei Lei
            Assignee: Chunwei Lei


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]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)