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

ERROR () LineGobbler(voidCall):85 - Exception in thread "main" java.lang.RuntimeException: java.sql.SQLException: YEAR #5070

Closed
ayyoubmaulana opened this issue Jul 29, 2021 · 8 comments
Labels
area/connectors Connector related issues lang/java priority/medium Medium priority type/bug Something isn't working

Comments

@ayyoubmaulana
Copy link

Hi, i try to replicate data using incremental deduped for the first time in table client_order from Mysql to BigQuery but i got this error, can someone explain whats going on ?

Screenshot (30)

i found this in source MySQL

Screenshot (31)

does that is the problem ?

@ayyoubmaulana ayyoubmaulana added the type/bug Something isn't working label Jul 29, 2021
@sherifnada
Copy link
Contributor

@ayyoubmaulana can you share the full log?

@marcosmarxm
Copy link
Member

This should be added to the comprehensive data tests in mysql

@ayyoubmaulana
Copy link
Author

logs-2974-0.txt

this my full log @sherifnada

@sherifnada sherifnada added the priority/high High priority label Jul 30, 2021
@etsybaev
Copy link
Contributor

Might be related to #3931

@ayyoubmaulana
Copy link
Author

but it still error for me @etsybaev

@sherifnada sherifnada added priority/medium Medium priority and removed priority/high High priority labels Aug 27, 2021
@roychri
Copy link

roychri commented Nov 4, 2021

I am having a similar problem, even when using zerodatetimebehavior=Converttonull on the source jdbc options.
This is using MySQL -> PostgreSQL.

See my troubleshooting report: https://airbytehq.slack.com/archives/C01MFR03D5W/p1636037752111300

Here are my logs:
logs-65-0.txt

@sherifnada
Copy link
Contributor

cc @tuliren for database reliability issues

@sherifnada sherifnada added the area/connectors Connector related issues label Nov 19, 2021
@tuliren
Copy link
Contributor

tuliren commented Dec 15, 2021

MySQL year is now parsed as a string, instead of a date. See test case here:
https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSourceDatatypeTest.java#L320

In the future, we may consider changing a year value to an integer. But currently our internal Json representation only supports number, but not integer. So we cannot store them as integers yet. Follow up issue here: #8722

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues lang/java priority/medium Medium priority type/bug Something isn't working
Projects
No open projects
Archived in project
Development

No branches or pull requests

6 participants