Import target-bigquery codebase from z3z1ma/target-bigquery#2
Merged
Conversation
Co-authored-by: Ruben Vereecken <rubenvereecken@gmail.com>
Co-authored-by: Alejandro Martinez <alejandroa@kannactnow.com>
* 🔧 change logic to see if ds or table exists * 🔥 refactoring a lil bit * 🔥 undoing some linting * 🔧 re-thinking try except blocks * 🔧 more work on exc block --------- Co-authored-by: Alejandro Martinez <alejandroa@kannactnow.com>
… streaming buffer
…core` (#95) * add changes * update buggy test
…d added code to pre_state_hook (#96)
* Add partition expiraiton parameter * Optional parameter
* Fix field already exists error when running with denormalization and snake case column name transforms enabled * Only update schema when table already exists * Return BigQuery table as it was created from `as_table`, rather than an approximation (if possible) * Do not cache method as it may return an out-of-date table object if initially used for table creation `self._table` is effectively cached anyway
* Add VS Code launch configuration * Define target settings in `meltano.yml` so they can be configured by environment variables * Replace removed `record-flattening` capability
# Conflicts: # README.md
…k to 0.53.6
- Add .tool-versions for mise (python 3.13.5)
- Rewrite pyproject.toml from Poetry to PEP 621 + uv
- Delete poetry.lock, add uv.lock (65 packages, Python 3.13.5)
- Upgrade singer-sdk from 0.22 to 0.53.6
- Migrate target.py to new singer-sdk API:
- drain_one/drain_all overrides replaced with
_process_record_message, _process_state_message,
process_endofpipe overrides
- Fix _validate_config and get_sink signatures
- Modernize typing across all source files:
- Add `from __future__ import annotations` to all files
- Replace deprecated typing imports with built-in generics
and | union syntax
- Fix logger.warn → logger.warning (removed in Python 3.13)
- Migrate test_core.py: get_standard_target_tests →
get_target_test_class
31/31 unit tests pass (test_utils.py) on Python 3.13.5
- Replace Poetry install steps with uv sync --dev - Drop Python matrix (3.8/3.9/3.10) — single Python 3.13 job - Run only unit tests (test_utils) — no BQ secrets on fork - Bump actions: checkout@v4, setup-python@v5, add setup-uv@v5 - Fix trigger paths: poetry.lock -> uv.lock + pyproject.toml - Update dependabot: pip ecosystem -> uv, weekly schedule
cedroyer
approved these changes
Mar 30, 2026
cedroyer
approved these changes
Mar 30, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
mainbranch covering features, bug fixes, CI workflows, and documentation.