-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Sec distribution fix #4031
Sec distribution fix #4031
Conversation
@@ -1486,6 +1486,7 @@ def from_pyarrow_schema( | |||
name=name, | |||
description=description, | |||
schema=Schema.from_pyarrow_schema(schema), | |||
create_database_schema=False, |
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.
Don't include PUDL models tables in sqlite schema
@@ -16,7 +16,7 @@ def get_model_tables() -> list[str]: | |||
"core_sec10k__company_information", | |||
"core_sec10k__exhibit_21_company_ownership", | |||
"core_sec10k__filings", | |||
"out_sec_10k__parents_and_subsidiaries", | |||
"out_sec10k__parents_and_subsidiaries", |
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.
Make names consistent
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.
Looks good!
Overview
This PR fixes the nightly build failure caused by adding
sec10k
tables. This error occurred because I forgot to commit the database migrations with the new tables. However, after further consideration, I realized that including thesesec10k
tables in the SQLITE db there will be schema inconsistencies for outside contributors who can't pull the metadata from GCS. Because of this, this PR also updates the PUDL models assets to use only the parquet IO-manager.