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

Java CDK: DV2 tests have separate testcases for safe_cast #36935

Merged
merged 2 commits into from
May 3, 2024

Conversation

edgao
Copy link
Contributor

@edgao edgao commented Apr 9, 2024

ported from #34616.

Mysql DV2 won't have a safe_cast implementation, so we need to update tests to support crashing on CAST failures.

BaseSqlGeneratorIntegrationTest now requires implementations to specify whether they support safe casting, and its test cases have been updated to reflect this.

BaseTypingDedupingTest no longer exercises safe casting at all, under the assumption that the sqlgenerator test is sufficient coverage.

e.g. #34613 to update Redshift to the new fixtures. Other connectors should look pretty similar.

Copy link

vercel bot commented Apr 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview May 3, 2024 8:08pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Apr 9, 2024
@edgao edgao force-pushed the dv2/mysql_base_2 branch 2 times, most recently from ec6bfeb to 6e1186b Compare April 11, 2024 23:31
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 55c1931 to 8236517 Compare April 11, 2024 23:31
Copy link
Contributor Author

edgao commented Apr 11, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @edgao and the rest of your teammates on Graphite Graphite

@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 8236517 to 2965541 Compare April 11, 2024 23:37
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 2965541 to f40161c Compare April 12, 2024 18:36
@edgao edgao mentioned this pull request Apr 12, 2024
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from f40161c to 129aa86 Compare April 12, 2024 21:01
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 129aa86 to c0b31d2 Compare April 12, 2024 22:28
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from c0b31d2 to 94a3dc0 Compare April 15, 2024 14:46
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 94a3dc0 to dd57516 Compare April 15, 2024 17:33
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from dd57516 to 97d1fa3 Compare April 15, 2024 19:48
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 97d1fa3 to 4e09b56 Compare April 15, 2024 22:57
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 4e09b56 to 0548f6b Compare April 17, 2024 22:39
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 0548f6b to 733ff64 Compare April 18, 2024 17:06
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 7ae481a to 2067931 Compare April 26, 2024 22:58
@edgao edgao marked this pull request as ready for review April 26, 2024 23:57
@edgao edgao requested a review from a team as a code owner April 26, 2024 23:57
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 2067931 to be524ad Compare April 29, 2024 15:10
@octavia-squidington-iv octavia-squidington-iv requested review from a team April 29, 2024 23:01
@edgao edgao requested a review from a team as a April 30, 2024 00:06
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from be524ad to be73530 Compare April 30, 2024 00:06
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from be73530 to 55e7bf2 Compare April 30, 2024 15:14
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 55e7bf2 to bdf95d2 Compare May 3, 2024 18:35
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from bdf95d2 to 1dfc87d Compare May 3, 2024 19:38
Base automatically changed from dv2/mysql_base_2 to master May 3, 2024 20:03
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 1dfc87d to be36130 Compare May 3, 2024 20:06
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from be36130 to 9bb61fe Compare May 3, 2024 20:08
@edgao
Copy link
Contributor Author

edgao commented May 3, 2024

/publish-java-cdk

🕑 https://github.com/airbytehq/airbyte/actions/runs/8944339305
✅ Successfully published Java CDK version=0.33.0!

@edgao edgao merged commit 4894ad2 into master May 3, 2024
28 checks passed
@edgao edgao deleted the dv2/td_tests_allow_unsafe_cast_2 branch May 3, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants