Skip to content

Bulk load CDK: run cleaner once per class#58675

Merged
Edward Gao (edgao) merged 3 commits intomasterfrom
edgao/better_cleaner
Apr 25, 2025
Merged

Bulk load CDK: run cleaner once per class#58675
Edward Gao (edgao) merged 3 commits intomasterfrom
edgao/better_cleaner

Conversation

@edgao
Copy link
Contributor

@edgao Edward Gao (edgao) commented Apr 25, 2025

closes https://github.com/airbytehq/airbyte-internal-issues/issues/12566

just move the hasRunCleaner from the companion object into an instance val

this is probably why s3-data-lake wasn't correctly deleting stuff from glue, even though we have nightlies

(this will also be useful for bigquery, where different cleaners will point at different rawTableDataset)

@vercel
Copy link

vercel bot commented Apr 25, 2025

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 Apr 25, 2025 10:30pm

@edgao Edward Gao (edgao) marked this pull request as draft April 25, 2025 17:56
@edgao Edward Gao (edgao) marked this pull request as ready for review April 25, 2025 17:59

// we want to run the cleaner exactly once per test class.
// technically this is a little inefficient - e.g. multiple test classes could reuse the same
// cleaner, so we'd prefer to only them once.

Choose a reason for hiding this comment

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

I think you are missing a word here

@edgao Edward Gao (edgao) enabled auto-merge (squash) April 25, 2025 22:23
@edgao Edward Gao (edgao) merged commit 74a52ef into master Apr 25, 2025
19 checks passed
@edgao Edward Gao (edgao) deleted the edgao/better_cleaner branch April 25, 2025 22:39
Edward Gao (edgao) added a commit that referenced this pull request Apr 29, 2025
ericvanbenschoten-dv01 pushed a commit to ericvanbenschoten-dv01/airbyte_ev that referenced this pull request May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants