Skip to content

Import target-bigquery codebase from z3z1ma/target-bigquery#2

Merged
aureldent merged 181 commits into
masterfrom
import-target-bigquery
Mar 30, 2026
Merged

Import target-bigquery codebase from z3z1ma/target-bigquery#2
aureldent merged 181 commits into
masterfrom
import-target-bigquery

Conversation

@aureldent
Copy link
Copy Markdown
Contributor

Summary

  • Imports the full codebase from z3z1ma/target-bigquery (Singer target for BigQuery) into this repository.
  • Includes all 50 commits from the upstream main branch covering features, bug fixes, CI workflows, and documentation.

buu-nguyen and others added 23 commits January 22, 2024 04:02
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>
…core` (#95)

* add changes

* update buggy test
* 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
@aureldent aureldent requested review from a team and lumautomation as code owners March 30, 2026 07:40
…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
@aureldent aureldent merged commit 48a1b6c into master Mar 30, 2026
2 checks passed
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.