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

runtime: hard code materialize-bigquery in ser_policy #1610

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

williamhbaker
Copy link
Member

@williamhbaker williamhbaker commented Sep 5, 2024

Description:

BigQuery actually has a limit of 20MiB on an individual row that can be returned via its Query API. Although we can store a row with a flow_document that large, we then can't read it back out using the conventional query mechanism the materialization connector currently uses.

This adds materialize-bigquery to the list of connectors that use ser_policy, which should generally reduce how often we store rows that are excessively large.

Workflow steps:

(How does one use this feature, and how has it changed)

Documentation links affected:

(list any documentation links that you created, or existing ones that you've identified as needing updates, along with a brief description)

Notes for reviewers:

(anything that might help someone review this PR)


This change is Reviewable

BigQuery actually has a limit of 20MiB on an individual row that can be returned
via its Query API. Although we can store a row with a `flow_document` that
large, we then can't read it back out using the conventional query mechanism the
materialization connector currently uses.

This adds `materialize-bigquery` to the list of connectors that use
`ser_policy`, which should generally reduce how often we store rows that are
excessively large.
@williamhbaker williamhbaker added the change:unplanned This change is unplanned, useful for things like docs label Sep 5, 2024
@williamhbaker williamhbaker marked this pull request as ready for review September 5, 2024 16:26
Copy link
Member

@jgraettinger jgraettinger left a comment

Choose a reason for hiding this comment

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

LGTM

@williamhbaker williamhbaker merged commit a8c36f1 into master Sep 5, 2024
3 checks passed
@williamhbaker williamhbaker deleted the wb/bq-ser-policy branch September 5, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:unplanned This change is unplanned, useful for things like docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants