-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Update AirbyteTypeToMssqlType.kt #65631
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
base: master
Are you sure you want to change the base?
Conversation
Summary of Changes 1. Added two new enum values to MssqlType: - NVARCHAR(Types.NVARCHAR, sqlStringOverride = "NVARCHAR(MAX)") - NVARCHAR_INDEX(Types.NVARCHAR, sqlStringOverride = "NVARCHAR(200)") 2. Updated the conversion logic to use NVARCHAR instead of VARCHAR for string types 3. Maintained backward compatibility by keeping the existing VARCHAR types
👋 Welcome to Airbyte!Thank you for your contribution from cad2040/airbyte! We're excited to have you in the Airbyte community. Helpful Resources
PR Slash CommandsAs needed or by request, Airbyte Maintainers can execute the following slash commands on your PR:
If you have any questions, feel free to ask in the PR comments or join our Slack community. Tips for Working with CI
|
The "Format Check" failure is due to a broken GitHub Action dependency ( The Airbyte team needs to update their workflow to use a working Slack action or remove the Slack notification step. My code changes are ready for review once the workflow issue is resolved. This fix addresses issue 64496 |
@cad2040 it looks like the build has proper failures. Please take a look! |
Updated testConvertStringType() to expect nvarchar and testConvertIndexedStringType() to expect nvarchar
Thanks I have updated the failing unit tests to now expect NVARCHAR and not VARCHAR. |
Okay, it is now failing due to a missing credential in a secret file, which I think is related to the build pipelines |
/run-connector-tests
|
Summary of Changes
What
Allowing the connector to correctly handle Unicode characters, address issue 64496
How
By updating conversion logic of strings to use nvarchar instead of varchar
Review guide
User Impact
Positive Impact:
Eliminates data quality issues - Text fields will maintain their original meaning and readability
No Negative Side Effects:
Can this PR be safely reverted and rolled back?