Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3322

There are two same testcase in RelMetadataTest

    XMLWordPrintableJSON

    Details

      Description

      When I read the code, I found two identical testcases in RelMetadataTest, except for the different names, which might need to be changed to limit 0, or just need to keep one.

        @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);
        }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shenhong Hong Shen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m