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

🐛DATETIME from MySQL not returned as TIMESTAMP on postgres. It returns as text #3865

Closed
dl-lim opened this issue Jun 3, 2021 · 6 comments

Comments

@dl-lim
Copy link

dl-lim commented Jun 3, 2021

Expected Behavior

Tell us what should happen.
DATETIME from MySQL should end up as TIMESTAMP on postgres

Current Behavior

Tell us what happens instead of the expected behavior.
DATETIME from MySQL should end up as VARCHAR on postgres

Logs

If applicable, please upload the logs from the failing operation. For sync jobs, you can download the full logs from the UI by going to the sync attempt page and clicking the download logs button at the top right of the logs display window.
N/A

Steps to Reproduce

  1. Have DATETIME data on a mysql source
  2. Push to a Postgres dest
  3. Postgres data shows up as text, not date :(

Severity of the bug for you

High

Airbyte Version

Found in the .env file in the root of the project.
0.24.5

Connector Version (if applicable)

Found in the admin page in the UI in the respective Source or Destination tab.
mysql 0.3.3
postgres 0.3.2

Additional context

Environment, version, integration...
#3562
┆Issue is synchronized with this Asana task by Unito

@dl-lim dl-lim added the type/bug Something isn't working label Jun 3, 2021
@davinchia davinchia added the area/connectors Connector related issues label Jun 4, 2021
@Morpheus1999
Copy link

Morpheus1999 commented Jan 26, 2022

Dears

I just found that this issue was caused by class JsonSchemaPrimitive do not have corresponging timestamp enum item and this class was used to generated stream of catalog.

@BenoitFayolle
Copy link
Contributor

Still an issue in connector version 0.5.1
Would love for this to be resolved!
Happy to test things out if someone knows how to resolve.

@Morpheus1999
Copy link

Morpheus1999 commented Jan 29, 2022

Dears

I have created on merge request for fixing this issue.
Please kindly reviewing it.
#9891
Thanks

Morpheus1999 added a commit to Morpheus1999/airbyte that referenced this issue Feb 3, 2022
@grishick grishick changed the title DATETIME from MySQL not returned as TIMESTAMP on postgres. It returns as text 🐛DATETIME from MySQL not returned as TIMESTAMP on postgres. It returns as text May 3, 2022
@tuliren
Copy link
Contributor

tuliren commented Aug 17, 2022

This is probably fixed by #15504. Need to verify.

@tuliren
Copy link
Contributor

tuliren commented Aug 17, 2022

Hey team! Please add your planning poker estimate with ZenHub @edgao @rodireich @ryankfu @subodh1810

@tuliren
Copy link
Contributor

tuliren commented Aug 17, 2022

Actually we already have unit tests for this. This is fixed by #15504.

@tuliren tuliren closed this as completed Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants