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

Numeric: refactoring and truncate for BigQuery #1746

Merged
merged 8 commits into from
May 22, 2024

Conversation

Amogh-Bharadwaj
Copy link
Contributor

@Amogh-Bharadwaj Amogh-Bharadwaj commented May 22, 2024

Some fixes related to numerics.

  • .Round() can turn a value like 999999....dot 99999... to 1000.... Changed this to .Truncate
  • Included bigquery too for the snowflake specific steps in processNumeric
  • Moved code snippets to functions

Functionally tested for BigQuery initial load

flow/datatypes/numeric.go Outdated Show resolved Hide resolved
@Amogh-Bharadwaj Amogh-Bharadwaj merged commit 1008519 into main May 22, 2024
7 checks passed
@Amogh-Bharadwaj Amogh-Bharadwaj deleted the bq-numeric-truncate branch May 22, 2024 14:53
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.

3 participants