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

[HUDI-8212] Add extra config of billing project ID for BigQuery sync #11988

Merged
merged 8 commits into from
Oct 6, 2024

Conversation

ad1happy2go
Copy link
Collaborator

Change Logs

When the big query dataset project id is different than billing project id, the job has to be submitted in different project.

Impact

none

Risk level (write none, low medium or high below)

low

Documentation Update

Big Query sync Documentation update is necessary for the extra config. Will raise a PR for that too.

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@github-actions github-actions bot added the size:S PR with lines of changes in (10, 100] label Sep 23, 2024
@yihua yihua changed the title [HUDI-8212][branch-0.x] Added extra config for Billing big query project id [HUDI-8212] Add extra config of billing project ID for BigQuery sync Oct 5, 2024
Copy link
Contributor

@yihua yihua left a comment

Choose a reason for hiding this comment

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

LGTM

properties.setProperty(BigQuerySyncConfig.BIGQUERY_SYNC_DATASET_NAME.key(), TEST_DATASET);
properties.setProperty(HoodieSyncConfig.META_SYNC_BASE_PATH.key(), tempDir.toString());
properties.setProperty(BigQuerySyncConfig.BIGQUERY_SYNC_REQUIRE_PARTITION_FILTER.key(), "true");
}

@ParameterizedTest
@ValueSource(booleans = {true, false})
void testCreateOrUpdateTableUsingManifestWithBillingProjectId(boolean setBillingProjectId) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Added the new test here.

@hudi-bot
Copy link

hudi-bot commented Oct 5, 2024

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@yihua yihua merged commit 0fb3e94 into apache:branch-0.x Oct 6, 2024
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S PR with lines of changes in (10, 100]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants