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
Table indexing config validation #6017
Conversation
pinot-core/src/main/java/org/apache/pinot/core/util/TableConfigUtils.java
Show resolved
Hide resolved
pinot-core/src/main/java/org/apache/pinot/core/util/TableConfigUtils.java
Show resolved
Hide resolved
pinot-core/src/main/java/org/apache/pinot/core/util/TableConfigUtils.java
Show resolved
Hide resolved
…Adding javadocs * Bug fix in integration test regarding removal of existing column from schema
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.
LGTM
pinot-core/src/main/java/org/apache/pinot/core/util/TableConfigUtils.java
Outdated
Show resolved
Hide resolved
As discussed offline, it would be nice to have some validations on index columns which cannot be in noDictionary columns (e.g. if column has inverted index, it should not be in noDictionary). |
Not in this PR. I'll create a separate one for that. |
Related to #5942
Description
This is to ensure any column name mentioned in the table indexing config is valid (i.e. it exists in the corresponding schema). Also checking for space in the table name.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)
No
Does this PR fix a zero-downtime upgrade introduced earlier?
No
Does this PR otherwise need attention when creating release notes?
No