-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
[AIRFLOW-5152]Change autodetect default value to be True #5764
[AIRFLOW-5152]Change autodetect default value to be True #5764
Conversation
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.
This seems to be reasonable change but is it backward compatible? If user passes a schema definition and autodetect is set to True will the schema be use instead of autodetection?
Also, please adjust commit and PR message to reference the JIRA issue ✅
I would argue that the change, itself, was backwards incompatible, and this is restoring the compatibility. We had DAGs that were running fine. After the patch referenced in the JIRA, they broke. This restores proper behavior. |
@criccomini thank you for the insight! |
That's a good catch. Not sure how this autodetect config will ultimately be handled by gcloud, but I think for this case, schema should still be used instead of autodetection. Please refer to codes below:
|
…udStorageToBigQueryOperator.
Declining this PR and created #5771 since I messed up the commit messages. |
In such cases |
@criccomini Should we pull this (well the re-opened one) in as a bugfix for 1.10.5 then? |
@ashb that would be ideal, if possible. :) |
Make sure you have checked all steps below.
Jira
Description
Set autodetect default value from false to be true to avoid breaking downstream services using GoogleCloudStorageToBigQueryOperator but not aware of the newly added autodetect field. This PR is to fix the current regression introduced by #3880
Tests
Commits
Documentation
Code Quality
flake8