-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Remove Avro Schema description copying from bigquery_avro #2269
Conversation
Any advice on how to handle the last few flake8 errors? Don't seem to be related to anything I have done and I tried to clean most of them up.
|
@ulzha FYI |
Yeah. Hm. Seems like flake8 has arbitrarily started to apply new rules. |
Thanks for cleaning up. Does the bigquery_gcloud_test succeed unchanged? (We seem to not be running the gcloud tests on Travis.) I think avro dependencies are becoming unneeded in Line 24 in 4801fec
|
Good catch on the test. Seems like google doesn't propagate the table level description at the moment so I'll have to pull that back in 😢 |
@idreeskhan or just file a feature request to propagate description as well, and not pull it back in here? :] |
@ulzha Yes, for sure! We are working on that but the timeline may not match ours since this has a short timeline for us. Will know more and update later in the week. |
@ulzha This will not be fixed soon enough by Google. I have re-added the table description copying logic and verified that the current tests still pass. I kept the field level description copying out as that is properly handled by BQ. |
Merging despite codecov diff complaints... Removing code is awesome. |
I cannot agree more. Thanks @idreeskhan! |
Description
Google BigQuery now has support by default for Schema description copying. Removing the existing description copying from
bigquery_avro.py
since this is now redundant and may cause issues/conflicts in the future.The logic currently will overwrite Google-side logic to copy over descriptions.
Have you tested this? If so, how?
I ran my jobs with this code and it works for me.