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

Use BIGNUMERIC for large decimals in bigquery #984

Merged
merged 2 commits into from Feb 21, 2024

Conversation

steinitzu
Copy link
Collaborator

Description

  • Adjust type mapper to use BIGNUMERIC for decimals with precision > 38 or scale > 9
  • Tests -> added big decimal to table builder unit test and one e2e test with pipeline

Related Issues

Copy link

netlify bot commented Feb 20, 2024

Deploy Preview for dlt-hub-docs ready!

Name Link
🔨 Latest commit 6373aba
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/65d62e41b75f4f00087579a6
😎 Deploy Preview https://deploy-preview-984--dlt-hub-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@rudolfix rudolfix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heh this looks good but somehow vector database tests are not passing (see CI)

@steinitzu
Copy link
Collaborator Author

heh this looks good but somehow vector database tests are not passing (see CI)

Should be fixed in last commit. Was assuming all dbs had a decimal type/default precision set, weaviate doesn't.

@rudolfix rudolfix merged commit eaf3c05 into devel Feb 21, 2024
58 of 59 checks passed
@rudolfix rudolfix deleted the sthor/bigquery-precision branch February 21, 2024 22:19
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.

BigQuery destination does not pick right decimal type
2 participants