Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Currently, LocalLimit/GlobalLimit/Sample propagates the same row count and column stats from its child, which is incorrect.
      We can get the correct rowCount in Statistics for Limit/Sample whether cbo is enabled or not. And column stats should not be propagated because we don't know the distribution of columns after Limit or Sample.

        Attachments

          Activity

            People

            • Assignee:
              ZenWzh Zhenhua Wang
              Reporter:
              ZenWzh Zhenhua Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: