-
Notifications
You must be signed in to change notification settings - Fork 71
feat: add destination readback introspection for smoke tests #1000
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
Merged
Aaron ("AJ") Steers (aaronsteers)
merged 49 commits into
main
from
devin/1774225239-destination-readback-testing
Mar 23, 2026
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
b09ecfb
feat: add destination readback introspection for smoke tests
devin-ai-integration[bot] 8c0385b
fix: address CI lint and type check failures
devin-ai-integration[bot] 4faa641
fix: use uv run ruff format for CI-compatible formatting
devin-ai-integration[bot] 1a514c4
refactor: use cache's built-in normalizers and move query methods to …
devin-ai-integration[bot] 6740c3d
refactor: add get_sql_cache() to Destination, simplify readback to us…
devin-ai-integration[bot] 6fa7180
fix: case-insensitive key lookup for column stats across DBs
devin-ai-integration[bot] 4885a16
refactor: eliminate destination_readback.py, fix key casing and secre…
devin-ai-integration[bot] fffbcea
style: convert docstring from reST to markdown syntax
devin-ai-integration[bot] cda5d81
fix: use positional aliases in column stats query to avoid truncation
devin-ai-integration[bot] d75b003
fix: quote table names in readback SQL queries for Snowflake compatib…
devin-ai-integration[bot] 8ce95e4
fix: handle dict config in postgres_destination_to_cache for local re…
devin-ai-integration[bot] 2b7d3ce
fix: case-insensitive row_count lookup + fallback to original stream …
devin-ai-integration[bot] 40944f9
fix: move inline imports to top-level in CacheBase readback methods
devin-ai-integration[bot] 08f1b4c
fix: import sorting in base.py + handle dict config and /local path i…
devin-ai-integration[bot] 1cdd9b0
style: fix ruff format in duckdb_destination_to_cache
devin-ai-integration[bot] f07a223
fix: handle dict config in motherduck_destination_to_cache
devin-ai-integration[bot] 76151ab
fix: strip destinationType key in bigquery and snowflake dest-to-cach…
devin-ai-integration[bot] 08b64e4
fix: use dialect-aware identifier quoting in readback SQL (BigQuery b…
devin-ai-integration[bot] 73993fa
refactor: move readback logic from CacheBase to SqlProcessorBase per …
devin-ai-integration[bot] f0b26d7
fix: restore CI-expected formatting in sql_processor.py
devin-ai-integration[bot] 174bbfb
style: convert all docstrings from reST to Markdown formatting
devin-ai-integration[bot] 1e5c45b
fix: make stats fields nullable, broaden readback exception handling …
devin-ai-integration[bot] a1187b4
docs: add Markdown docstring style guideline to CONTRIBUTING.md
devin-ai-integration[bot] 8a5ea93
fix: pass schema_name through destination_to_cache, add db/schema to …
devin-ai-integration[bot] 2aea3d0
refactor: improve get_column_info docstring, share inspector across t…
devin-ai-integration[bot] b86d561
refactor: make get_column_stats private (_get_column_stats)
devin-ai-integration[bot] 8673f98
refactor: rename get_* to fetch_* for DB-hitting introspection methods
devin-ai-integration[bot] 20acec8
refactor: replace _get_stream_names_from_source with Source.get_selec…
devin-ai-integration[bot] dbc48c2
refactor: delete DestinationReadbackResult, flatten table_statistics …
devin-ai-integration[bot] 9e17822
refactor: make tables_not_found a dict mapping stream_name to expecte…
devin-ai-integration[bot] 19045b5
refactor: add Destination.is_cache_supported, remove try/except from …
devin-ai-integration[bot] f425257
refactor: run readback regardless of write success (partial success s…
devin-ai-integration[bot] 9ec7ac7
refactor: improve readback skip log message per review suggestion
devin-ai-integration[bot] 18e1e99
refactor: simplify get_sql_cache signature, remove destination_name/c…
devin-ai-integration[bot] 97c48c9
refactor: move translation files from destinations/ to caches/_utils/…
devin-ai-integration[bot] d894c8e
fix: add copyright notice to caches/_utils/__init__.py
devin-ai-integration[bot] 8576cfc
refactor: promote inline imports to top-level now that circular dep i…
devin-ai-integration[bot] 01a59e9
docs: fix stale docstrings - readback runs regardless of write success
devin-ai-integration[bot] 18f980f
docs: fix remaining double backticks to use Markdown style
devin-ai-integration[bot] 8323694
fix: wrap readback introspection in try/except to preserve structured…
devin-ai-integration[bot] a545987
fix: dispose engine after schema_name override to fix stale schema_tr…
devin-ai-integration[bot] a6902f1
fix: fall back to default schema when namespace schema has no tables
devin-ai-integration[bot] 491551e
fix: override destination config schema key for namespace isolation
devin-ai-integration[bot] 8ec0813
style: ruff format destination_smoke_tests.py
devin-ai-integration[bot] 0eeb90d
fix: force disable_type_dedupe=false for readback and improve config …
devin-ai-integration[bot] c79c72e
refactor: remove config schema override — catalog namespace is suffic…
devin-ai-integration[bot] 88f3d9e
fix: skip redundant config validation in _prepare_destination_config
devin-ai-integration[bot] 006c891
fix: use plaintext password directly in snowflake_destination_to_cache
devin-ai-integration[bot] e9adb75
fix: use destination's credentials_json for BigQuery cache construction
devin-ai-integration[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # Copyright (c) 2024 Airbyte, Inc., all rights reserved. | ||
| """Cache utility modules for translating between cache and destination configurations.""" |
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.