Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RowCount stat includes deleted rows on CS #14262

Open
swalrus1 opened this issue Feb 6, 2025 · 0 comments
Open

RowCount stat includes deleted rows on CS #14262

swalrus1 opened this issue Feb 6, 2025 · 0 comments

Comments

@swalrus1
Copy link
Collaborator

swalrus1 commented Feb 6, 2025

How to reproduce:

CREATE TABLE `/Root/test/x` (s String NOT NULL, PRIMARY KEY (s) ) PARTITION BY HASH(s);
UPSERT INTO `x` ( `s` ) VALUES ( "aaaa"  );
DELETE FROM `x`;

Check DescribeTable shortly after (before compaction):

  • RowCount = 2
  • DataSize != 0

Expected:

  • RowCount = 0
  • DataSize = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant