Skip to content

Conversation

@BridgerB
Copy link

@BridgerB BridgerB commented Dec 7, 2025

Summary

  • Add BigQuery dialect and driver support wrapping @google-cloud/bigquery client
  • Full CRUD operations (SELECT, INSERT, UPDATE, DELETE)
  • JOINs, aggregates, ordering, limits, offsets
  • $count() helper, alias(), subquery/CTE support
  • Migration support via migrate() function
  • 28 passing integration tests

Test plan

  • Integration tests pass (28 tests)
  • Lint passes (pnpm lint)
  • Build passes (pnpm build:orm)

Closes #2001

- Add bigquery-core/ dialect with columns, query builders, and SQL
  generation
- Add bigquery/ driver wrapping @google-cloud/bigquery client
- Support SELECT, INSERT, UPDATE, DELETE operations
- Support JOINs, aggregates, ordering, limits, offsets
- Add \$count() helper, alias(), subquery support
- Add migration support via migrate() function
- Add integration tests (28 passing tests)

Closes drizzle-team#2001
- Add geography.ts for GEOGRAPHY type (geospatial data as WKT/GeoJSON string)
- Add interval.ts for INTERVAL type (duration in canonical format)
- Add .array() method to BigQueryColumnBuilder for ARRAY<T> support
- Export new column types from index.ts and all.ts
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.

[FEATURE]: BigQuery Driver

1 participant