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

FIX[dmap-import]: Change pk_id to BigInteger for large tables. #44

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

rymarczy
Copy link
Contributor

@rymarczy rymarczy commented Feb 3, 2025

Prod environment throwing errors because pk_id column hit the maximum Integer value.

nextval: reached maximum value of sequence "device_event_pk_id_seq" (2147483647)

This changes updates the pk_id column for large dmap tables to use BigInteger, with much larger maximum value.

This issues does not impact ODS tables, as all of the ODS field types are dictated by QLIK dfm files.

@rymarczy rymarczy requested a review from grejdi-mbta February 3, 2025 15:49
@rymarczy rymarczy merged commit 5d572f3 into main Feb 3, 2025
5 checks passed
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