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

Aggregate recommender blows up if row count estimate is too high

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      If you run the aggregate recommendation algorithm with a value of rowCountEstimate that is wrong and large, the algorithm runs for a long time and eventually fails with "OutOfMemoryError: GC overhead limit exceeded".

      I have added LatticeTest.testLatticeWithBadRowCountEstimate as a test case.

        Activity

        Hide
        julianhyde Julian Hyde added a comment - - edited

        Test case and workaround added in http://git-wip-us.apache.org/repos/asf/calcite/commit/e7d15add but issue is not fixed yet.

        Show
        julianhyde Julian Hyde added a comment - - edited Test case and workaround added in http://git-wip-us.apache.org/repos/asf/calcite/commit/e7d15add but issue is not fixed yet.

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            julianhyde Julian Hyde
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development