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

Partition Column_Value by geoid #5

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

bailliekova
Copy link
Collaborator

@bailliekova bailliekova commented Jan 29, 2025

Add table partitioning to the column_value table on column_id in the hopes of reducing row counts when querying.

@peterrrock2 - I don't have strong feelings where the utility function for generating the partition DDL lives, I stuck in a utils file because it seemed out of place elsewhere but very open to feedback on that and everything else.

@bailliekova
Copy link
Collaborator Author

@peterrrock2 this is ready for review with the change to partition on column_id

Comment on lines +32 to +33
SCHEMA = "gerrydb"
metadata_obj = MetaData(schema=SCHEMA)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason for this change? It's not a big deal, I am just curious

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

Successfully merging this pull request may close these issues.

2 participants