Skip to content

[Alter] The rollup index's row number is same as base table. #3660

Description

@morningman

Describe the bug
After creating a rollup with less key column, we found that the row number of this rollup
is just same as the base table.

To Reproduce

  1. create a table with column k1, k2, k3, v1(sum)
  2. load some data.
  3. create rollup with column k1, v1(sum)

after rollup finished, the num rows of rollup is same as base table's.

Expected behavior
Because the number of key columns in rollup is less than base table, the data
should be more aggregate in rollup, so the row num of the rollup should be less than
base table.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stalearea/schema-changeIssues or PRs related to schema changekind/fixCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions