Skip to content

Conversation

@brycekbargar
Copy link
Collaborator

This fixes #54.

When scanning the data for column types, currently the "last" record wins and overwrites any other datatype that has been found. I'm not quite sure why it iterates over every record this way but I'm trying not to touch the existing transform code unless absolutely necessary.

This change checks the datatype this column was previously parsed as and then doesn't allow a type to be "upgraded" from a varchar to something more specific because that will cause issues inserting the actual data later.

@brycekbargar brycekbargar merged commit 7fd39c5 into library-data-platform:release-v3.2.1 Nov 12, 2025
3 of 5 checks passed
@brycekbargar brycekbargar deleted the mixed-datatypes branch December 9, 2025 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant