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

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 2 times, most recently from a8dc68e to 0a27153 Compare April 15, 2024 22:10
@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
aasimsani pushed a commit to taxwire/airbyte that referenced this pull request May 6, 2024
clnoll pushed a commit that referenced this pull request May 10, 2024
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.

None yet

4 participants