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

refactor: Add sort key to Table [DHIS2-16705] #19217

Merged
merged 76 commits into from
Nov 19, 2024
Merged

refactor: Add sort key to Table [DHIS2-16705] #19217

merged 76 commits into from
Nov 19, 2024

Conversation

larshelge
Copy link
Member

@larshelge larshelge commented Nov 19, 2024

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 the key 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.

@larshelge larshelge added the run-api-analytics-tests Enables analytics e2e tests label Nov 19, 2024
Copy link

sonarcloud bot commented Nov 19, 2024

Copy link
Contributor

@luciano-fiandesio luciano-fiandesio left a 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.

@larshelge
Copy link
Member Author

I guess we could merge now and then I can help with reconciling the DHIS2-16705 branch @luciano-fiandesio ?

@larshelge larshelge merged commit 0a65033 into master Nov 19, 2024
18 checks passed
@larshelge larshelge deleted the lars-dev branch November 19, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-api-analytics-tests Enables analytics e2e tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants