-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
@peterrrock2 this is ready for review with the change to partition on column_id |
SCHEMA = "gerrydb" | ||
metadata_obj = MetaData(schema=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.
What's the reason for this change? It's not a big deal, I am just curious
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.
we use SCHEMA to generate the partition sql
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.