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

Update MysqlSqlGenerator.kt #50861

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

urban-z
Copy link

@urban-z urban-z commented Jan 3, 2025

Fix issue where MySQL connector wouldn't work on MariaDB as well. Writing it this way allows for cross compatibility.

What

Changed the MysqlSqlGenerator.kt to be cross compatible with MariaDB as well as MySQL

How

Changed from CAST to JSON_OBJECT

Review guide

  1. MysqlSqlGenerator.kt

User Impact

  • What is the end result perceived by the user? Ability to send data to a MariaDB
  • If there are negative side effects, please list them. - None known

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Fix issue where MySQL connector wouldn't work on MariaDB as well. Writing it this way allows for cross compatibility.
@urban-z urban-z requested a review from a team as a code owner January 3, 2025 07:18
Copy link

vercel bot commented Jan 3, 2025

@urban-z is attempting to deploy a commit to the Airbyte Growth Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link

CLAassistant commented Jan 3, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants