Hong Shen created CALCITE-3322:
----------------------------------

             Summary: There are two same testcase in RelMetadataTest
                 Key: CALCITE-3322
                 URL: https://issues.apache.org/jira/browse/CALCITE-3322
             Project: Calcite
          Issue Type: Test
          Components: core
    Affects Versions: 1.20.0
            Reporter: Hong Shen


When I read the code, I found two identical testcases, except for the different 
names, which might need to be changed to limit 0, or just need to keep one.
<code>
  @Test public void testRowCountSortLimit() {
    final String sql = "select * from emp order by ename limit 10";
    checkRowCount(sql, 10d, 0D, 10d);
  }

  @Test public void testRowCountSortLimit0() {
    final String sql = "select * from emp order by ename limit 10";
    checkRowCount(sql, 10d, 0D, 10d);
  }
<code>



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to