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: typo in upload_results to determine batch size #411

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

rtkfan
Copy link
Contributor

@rtkfan rtkfan commented Dec 1, 2023

Overview

Fixes a typo in upload_results() that causes batch sizes for uploading models to be too large for BigQuery only.

Update type - breaking / non-breaking

  • Minor bug fix
  • Documentation improvements
  • Quality of Life improvements
  • New features (non-breaking change)
  • New features (breaking change)
  • Other (non-breaking change)
  • Other (breaking change)
  • Release preparation

What does this solve?

This typo caused the batch size for models in BigQuery to be too large, causing an error (due to a too-large query size) when uploading models. Testing the same changeset on a different fork in a separate (complex, but private) project successfully uploads models (where using the v2.6.2 release of dbt_artifacts causes the failure).

Outstanding questions

N/A, this is a straightforward fix, I think!

What databases have you tested with?

  • Snowflake
  • Google BigQuery
  • Databricks
  • Spark
  • N/A

This changeset passes integration tests in BigQuery. I don't have access to other databases so haven't tested there (however, the change should only affect behaviour in BigQuery).

@rtkfan rtkfan had a problem deploying to Approve Integration Tests December 1, 2023 02:22 — with GitHub Actions Failure
@rtkfan rtkfan had a problem deploying to Approve Integration Tests December 1, 2023 02:22 — with GitHub Actions Failure
@rtkfan rtkfan had a problem deploying to Approve Integration Tests December 1, 2023 02:22 — with GitHub Actions Failure
@rtkfan rtkfan had a problem deploying to Approve Integration Tests December 1, 2023 02:22 — with GitHub Actions Failure
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:28 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:28 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:28 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:28 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer jared-rimmer temporarily deployed to Approve Integration Tests January 25, 2024 11:32 — with GitHub Actions Inactive
@jared-rimmer
Copy link
Member

Thanks for the spot and contribution @rtkfan!

@jared-rimmer jared-rimmer merged commit 486c5f6 into brooklyn-data:main Jan 25, 2024
19 checks passed
@matt-lam-thinkific
Copy link

Thanks for pushing this through @jared-rimmer !

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