-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Destination Bigquery / Bigquery-denormalized: Only override dataset ID if stream namespace is null/empty #17054
Conversation
NOTE
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
NOTE
|
NOTE
|
/test connector=connectors/destination-bigquery
|
/test connector=connectors/destination-bigquery-denormalized
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good and in sync with
airbyte/airbyte-workers/src/main/java/io/airbyte/workers/internal/NamespacingMapper.java
Line 50 in e662cf0
LOGGER.error("Namespace Format cannot be blank for Stream {}. Falling back to default namespace from destination settings", |
NOTE
|
just going to publish these, since that runs tests anyway |
/publish connector=connectors/destination-bigquery,connectors/destination-bigquery-denormalized parallel=true
if you have connectors that successfully published but failed definition generation, follow step 4 here |
/publish connector=connectors/destination-bigquery-denormalized
if you have connectors that successfully published but failed definition generation, follow step 4 here |
NOTE
|
…D if stream namespace is null/empty (airbytehq#17054) * stop overriding namespace? * set namespace if needed * also check for empty namespace * version bump + changelog * auto-bump connector version [ci skip] * sanitize dataset id * auto-bump connector version [ci skip] Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
…D if stream namespace is null/empty (airbytehq#17054) * stop overriding namespace? * set namespace if needed * also check for empty namespace * version bump + changelog * auto-bump connector version [ci skip] * sanitize dataset id * auto-bump connector version [ci skip] Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
As title. This is causing us to push data into tables in the wrong datasets when the default dataset ID differs from the stream namespace.
Tested manually by configuring bq / bq-denorm syncs, with
edgao_default_dataset
as the default dataset ID, and syncing two streams (edgao_test.table2
andpublic.table2
). These are visible in the integration test project with the correct dataset - https://console.cloud.google.com/bigquery?project=prod-ab-cloud-proj&ws=!1m5!1m4!4m3!1sdataline-integration-testing!2spublic!3stable2 and search fortable2