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

Destination Mysql: DV2 #36936

Merged
merged 3 commits into from
May 3, 2024
Merged

Destination Mysql: DV2 #36936

merged 3 commits into from
May 3, 2024

Conversation

edgao
Copy link
Contributor

@edgao edgao commented Apr 9, 2024

ported from #34609 to use the kotlin cdk.

As a reminder, we're not doing any safe_cast stuff for mysql. I ran some manual tests in the perf test workspace; see Slack for summary.

We're generating (basically) the same data types as legacy normalization. The only diffs are numbers changing from float -> decimal(38, 9) (float only has 32-bit precision, so was causing problems) and timestamps changing from text -> varchar(1024).

Also we're adding new indexes - normalization was previously creating no indexes at all on the final table; we now have indexes on (extracted_at, pk, cursor), (extracted_at), and (raw_id). Legacy normalization and dv2 both index the raw table on raw_id; dv2 also indexes on loaded_at, extracted_at and extracted_at.

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:30pm

@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch 2 times, most recently from 8236517 to 2965541 Compare April 11, 2024 23:37
@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Apr 11, 2024
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 2965541 to f40161c Compare April 12, 2024 18:36
Copy link
Contributor Author

edgao commented Apr 12, 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

@octavia-squidington-iii octavia-squidington-iii removed the CDK Connector Development Kit label 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 changed the base branch from dv2/td_tests_allow_unsafe_cast_2 to dv2/mysql_raw_tables April 15, 2024 15:30
@edgao edgao force-pushed the dv2/mysql_raw_tables branch from 7a3147d to b15916f Compare April 15, 2024 17:33
@edgao edgao force-pushed the dv2/mysql_raw_tables branch 2 times, most recently from a8dc68e to 0a27153 Compare April 15, 2024 22:10
@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/mysql_impl branch from 87847f9 to 359a4ec 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
@edgao edgao force-pushed the dv2/mysql_impl branch from 359a4ec to 8d1130c Compare May 3, 2024 19:38
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch 2 times, most recently from be36130 to 9bb61fe Compare May 3, 2024 20:07
@edgao edgao force-pushed the dv2/mysql_impl branch from 8d1130c to cf2ff03 Compare May 3, 2024 20:08
Base automatically changed from dv2/td_tests_allow_unsafe_cast_2 to master May 3, 2024 20:29
@edgao edgao force-pushed the dv2/mysql_impl branch from cf2ff03 to b794c2a Compare May 3, 2024 20:30
@edgao edgao enabled auto-merge (squash) May 3, 2024 20:30
@edgao edgao merged commit e8e85eb into master May 3, 2024
31 checks passed
@edgao edgao deleted the dv2/mysql_impl branch May 3, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation breaking-change Don't merge me unless you are ready. connectors/destination/mysql connectors/destination/mysql-strict-encrypt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants