-
Notifications
You must be signed in to change notification settings - Fork 298
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
feat: StorageCnchMergeTree properly supports skipping indices #113
Conversation
@Clark0 I temporary disable adaptive index granularity tests, seem it's not working with secondary indexes |
DROP TABLE IF EXISTS indexed_table; | ||
CREATE TABLE indexed_table | ||
( `tm` DateTime, | ||
`log_message` String, | ||
INDEX log_message log_message TYPE tokenbf_v1(4096, 2, 0) GRANULARITY 1 | ||
)ENGINE = CnchMergeTree ORDER BY (tm) SETTINGS index_granularity_bytes = 50; --, min_index_granularity_bytes = 40; | ||
) ENGINE = CnchMergeTree ORDER BY (tm); -- SETTINGS index_granularity_bytes = 50; --, min_index_granularity_bytes = 40; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the table with adaptive index granularity support secondary index now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, loading marks of index files has an exception if enable adaptive index granularity
I hereby agree to the terms of the CLA available at: [placeholder]
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
ALTER table MATERIALIZE INDEX ...
Closes #102
If you are doing this for the first time, it's recommended to read the lightweight Contributing to ByConity Documentation guide first.