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-7488] The BigQuerySyncTool can't work well when the hudi table schema changed #10829 #10830

Merged

Conversation

steve-xi-awx
Copy link
Contributor

@steve-xi-awx steve-xi-awx commented Mar 6, 2024

Change Logs

The code is developed by own. It is used to fix the code bug.
When the BigQuery external table with an additional connection id, the changes of schema can't use the ExternalTableDefinition.setSchema()

I change the logic to detect if there is a connection id. And use this code to fix that bug.

Impact

On influence the update BQ schema process.

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

low medium

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 Mar 6, 2024
@yihua
Copy link
Contributor

yihua commented Mar 6, 2024

@steve-xi-awx thanks for the contribution. Could you attach the JIRA ticket number to the title of the PR?

@hudi-bot
Copy link

hudi-bot commented Mar 7, 2024

CI report:

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

@steve-xi-awx
Copy link
Contributor Author

@yihua I don't create jira ticket. Is it necessary to create a JIRA ticket for this mr ?

@danny0405 danny0405 changed the title [SUPPORT] The BigQuerySyncTool can't work well when the hudi table schema changed #10829 [HUDI-7488] The BigQuerySyncTool can't work well when the hudi table schema changed #10829 Mar 7, 2024
@danny0405
Copy link
Contributor

danny0405 commented Mar 7, 2024

@yihua I don't create jira ticket. Is it necessary to create a JIRA ticket for this mr ?

No worries, I have created one for you: https://issues.apache.org/jira/browse/HUDI-7488

@danny0405 danny0405 self-assigned this Mar 7, 2024
@danny0405 danny0405 added meta-sync bigquery gcp-support issues related to google ecosystem and removed bigquery labels Mar 7, 2024
@steve-xi-awx
Copy link
Contributor Author

@danny0405 Thanks, bro. I still have a question. It seems that some checks were not successfully. What should I do next ?

@danny0405
Copy link
Contributor

It looks okay, all the tests passed except the supplement of the description context which is unnecessary.

@danny0405 danny0405 merged commit 65a9d48 into apache:master Mar 8, 2024
39 of 42 checks passed
@steve-xi-awx
Copy link
Contributor Author

@danny0405 Got it, thanks a lot.

@steve-xi-awx steve-xi-awx deleted the hudi-update-bq-sync-tool-03-06-24 branch March 8, 2024 02:05
yihua pushed a commit that referenced this pull request May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gcp-support issues related to google ecosystem meta-sync size:S PR with lines of changes in (10, 100]
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

4 participants