-
Notifications
You must be signed in to change notification settings - Fork 4.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
fix issue-3865 mapping DATETIME of MySQL to corresponding type to Pos… #9891
fix issue-3865 mapping DATETIME of MySQL to corresponding type to Pos… #9891
Conversation
Hey @Morpheus1999 thanks for the contribution. Can you help with screenshots of sourceAcceptanceTests also you check this https://docs.airbyte.com/connector-development#publishing-a-connector regarding bumping the version |
Dear @harshithmullapudi For dataTypeTest which same as this change expected. For last two fails, I saw the reason is one file cannot be found, which I cannot figuring out the root reason, since I did not change other things except for data types. I also run integrationTest in origin Master which got same error. See following screenshot. I also change version to 0.5.2 in Dockerfile. Please kindly help to review it. If anything need to be performed by me, please inform me, thanks. Since this is my first time to submit PR, it may need more guidance , thank you for your patience. |
Hey, will look into this today. Also, can you ask root to sign the CLA. |
1dff8c2
to
442769d
Compare
Dear @harshithmullapudi I am afraid I cannot use root to sign the CLA, it may casued by I use wrong Linux user to commit the code. It would be better to rollback the latest commit and recommit it use my own account on linux. |
Dear @harshithmullapudi I have recommit it and fix CLA issue. Please kindly review it. Thanks |
Sure will take a look at it EOD |
Dear @harshithmullapudi I am glad to see this pull request was approved, but I saw this pull request was blocked by some checks. Should I do something for this or just waiting for other people who have authentication to merge this request. |
Yeah I will run the tests and check the acceptance tests today. |
Dear @harshithmullapudi |
Dear @harshithmullapudi I just resolve one conflict which caused by label version in Dockerfile. I think new version docker file had been pushed to master by other contributors during pull request period. Please kindly help to resolve sonar scan failed check. Thank you so much. |
@tuliren can you give it a quick review here (since you have more idea on the types and you have worked on it before). Just needed a small +1 from you Just being more curious when you handled all types why didn't we handle this also? |
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.
We are already working on a more generic solution for the date and time types. The most recent PR is #9913. Sorry that I'd prefer to not merge this PR, as it will be superseded by our internal solution.
@tuliren @harshithmullapudi |
Dear @tuliren @harshithmullapudi I just quickly view PR which mentioned by @tuliren #9913 . I cannot find type of timestamp or datetime were handled in following screenshot. |
Right, #9913 is the first step for this big type change. It does not add date and time supports yet. We need to evaluate the impact of this change to existing users before merging this. I will look more into this tomorrow. Don't worry, this PR will be merged. If there is any merge conflict, I can fix that. |
@Morpheus1999 thanks for making the change! this change is a bit more involved for the reasons outlined here #8280, so before the mysql source can start declaring can we put this PR on hold until the list of blocking issues are addressed? |
@sherifnada I have carefully read comments in #8280 . Currently, the normalization part just convert data, which has format "date-time", to timestamp with timezone regardless of whether the source columns have timezone or not. Does this PR have conflict with solution of issue #8280 mentioned by you? |
@Morpheus1999 you'll notice no database source currently declares columns with |
@sherifnada I understand your point. I Just want to figure out what should I do for helping this issue? |
@Morpheus1999 Here is the update on this As per the reasons described here this change alone is insufficient #8280 you can take a look at it and feel free to continue the contribution. |
I will be closing this PR. Feel free to reach out to me if you need any help. Thanks a lot. |
Marcos Marx commented: Dear @harshithmullapudi I just resolve one conflict which caused by label version in Dockerfile. I think new version docker file had been pushed to master by other contributors during pull request period. Please kindly help to resolve sonar scan failed check. Thank you so much. |
Marcos Marx commented: @Morpheus1999 thanks for making the change! this change is a bit more involved for the reasons outlined here #8280, so before the mysql source can start declaring can we put this PR on hold until the list of blocking issues are addressed? |
Marcos Marx commented: @sherifnada I understand your point. I Just want to figure out what should I do for helping this issue? |
…tgres
What
Describe what the change is solving
It helps to add screenshots if it affects the frontend.
Adding type of Timestamp support in MySQL source connector, which help to map corresponding type in Postgres destination side.
How
Describe the solution
Adding new case branch in getJsonType method
Adding new case branch in JsonSchemaPrimitive.java for generating correct catalog file
Recommended reading order
🚨 User Impact 🚨
Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/SUMMARY.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereUpdating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changes