Skip to content

Conversation

byapparov
Copy link
Contributor

@byapparov byapparov commented Jul 13, 2025

Fixes #624

Some BigQuery configurations incorrectly return NUMERIC/BIGNUMERIC columns with INTEGER type in the schema, causing them to be parsed as integer64 and then converted to regular integers when bigint="integer".

This fix ensures NUMERIC and BIGNUMERIC columns are always preserved as doubles regardless of schema inconsistencies, while still allowing true INTEGER columns to be converted according to the bigint parameter.

  • Add explicit handling for NUMERIC/BIGNUMERIC columns in parse_postprocess
  • Ensure bigint conversion only applies to true INTEGER columns
  • Add comprehensive test case to prevent regression

🤖 Generated with Claude Code


This is created as an experiment, so please ignore if it is not fixing the problem or addresses the wrong issue.

bulatyapparov and others added 2 commits July 13, 2025 22:44
Some BigQuery configurations incorrectly return NUMERIC/BIGNUMERIC
columns with INTEGER type in the schema, causing them to be parsed
as integer64 and then converted to regular integers when bigint="integer".

This fix ensures NUMERIC and BIGNUMERIC columns are always preserved
as doubles regardless of schema inconsistencies, while still allowing
true INTEGER columns to be converted according to the bigint parameter.

- Add explicit handling for NUMERIC/BIGNUMERIC columns in parse_postprocess
- Ensure bigint conversion only applies to true INTEGER columns
- Add comprehensive test case to prevent regression

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Update actions/checkout from v3 to v4 across all workflows
- Update actions/upload-artifact from v3 to v4 in test-coverage.yaml
- Fixes deprecation warnings for CI/CD pipeline

Addresses: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
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.

Problem with double columns. I need double but bigrquery brings integer to me
2 participants