-
Notifications
You must be signed in to change notification settings - Fork 352
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
refactor: Add sort key to Table [DHIS2-16705] #19217
Conversation
Quality Gate passedIssues Measures |
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.
@larshelge can we wait until later today to merge this PR, because I did something similar yesterday.
I guess we could merge now and then I can help with reconciling the DHIS2-16705 branch @luciano-fiandesio ? |
Adds a sort key list property to
Table
. The sort key is applicable to Doris and ClickHouse analytics databases. The sort key is used to sort rows in tables, which is the primary approach for achieving performance in column oriented data warehouses.The sort key can be used in
DorisSqlBuilder
#createTable
method for thekey
clause, to provide a meaningful key for tables which don't have a primary key, such as the aggregate data value table and completeness table.