Skip to content

Bulk load CDK: Fix testUnknownTypes - #55904

Merged
Edward Gao (edgao) merged 4 commits into
masterfrom
edgao/unknown_types_test
Mar 24, 2025
Merged

Edward Gao (edgao) merged 4 commits into
masterfrom
edgao/unknown_types_test

Conversation

@edgao

@edgao Edward Gao (edgao) commented Mar 21, 2025 •

Copy link
Copy Markdown
Contributor

AirbyteTypeToJsonSchema was previously discarding the input schema, so we ran with a field of type {}. Which for some reason we treat as ObjectWithEmptySchema? but w/e

this meant that testUnknownTypes was actually testing behavior on ObjectWithEmptySchema.

Also, update mssql to actually serialize UNKNOWN values in standard inserts mode. IMO we can release this without doing a breaking change. (I'll implement bulk inserts in #55884)

@vercel

vercel Bot commented Mar 21, 2025 •

Copy link
Copy Markdown

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

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2025 10:44pm

@Test
override fun testUnknownTypes() {
super.testUnknownTypes()
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reenabling test in e18d1d0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐑

@edgao
Edward Gao (edgao) merged commit 2401c51 into master Mar 24, 2025
@edgao
Edward Gao (edgao) deleted the edgao/unknown_types_test branch March 24, 2025 17:51
Sven Pöche (Valgard) pushed a commit to mayflower/airbyte that referenced this pull request Mar 25, 2025

This branch was successfully deployed

1 active deployment
Preview — 81eb84b5 Deployed Mar 21, 2025 by vercel[bot]
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