-
Notifications
You must be signed in to change notification settings - Fork 30
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
Fix non-nullable datetime when zeroDateTimeBehavior is CONVERT_TO_NULL. #489
Conversation
Hello @itsankit-google, Is there anything more that needs to be done? |
Hello @itsankit-google, Could you please have a look? We need this patch when we upgrade to the latest version of data fusion. Thanks! |
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.
Please add unit tests.
b2dfd0b
to
8418f8e
Compare
I have added the tests and run them. I ran the following command:
The output is as follows:
|
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.
Please also make the similar changes in CloudSQLMySQL
plugin for consistency.
Please squash commits before we merge the PR, you can refer to steps here: data-integrations/firestore-plugins#18 (comment) |
@itsankit-google squashed 🎊 |
It's for the issue #488
The fix contains a check if the
zeroDateTimeBehavior
is to convert to null, make all date time like columns nullable.