Skip to content
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

feat(bigquery): RANGE support for basic data movement #9762

Merged
merged 16 commits into from
Apr 17, 2024

Conversation

shollyman
Copy link
Contributor

@shollyman shollyman commented Apr 12, 2024

This PR adds a new RangeValue type for conveying parsed range start/end
values, and adds the requisite plumbing for data movement.

Supported interactions:

  • streaming insert
  • parameter binding
  • type inference (docs indicate ambiguous type for range element)
  • data reads (non-accelerated)

A future PR will add storage read acceleration support.

Towards: #9017

This PR augments the StandardSQLDataRepresentation(s) to support
range-specific augmentations, and adds some testing.  Astute observers
will note that this does include mapping changes to param handling, which will
be tested in a subsequent PR that expands RANGE coverage to that area of
the library.
This PR adds a new RangeValue type for conveying parsed range start/end
values, and adds the requisite plumbing for parameter handling (type and
binding) and data result reading.
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the BigQuery API. label Apr 12, 2024
bigquery/params.go Show resolved Hide resolved
bigquery/rangevalue.go Show resolved Hide resolved
@shollyman shollyman changed the title feat(bigquery): range Support for basic data movement (params and reads) feat(bigquery): range Support for basic data movement Apr 16, 2024
@shollyman shollyman changed the title feat(bigquery): range Support for basic data movement feat(bigquery): RANGE support for basic data movement Apr 17, 2024
@shollyman shollyman marked this pull request as ready for review April 17, 2024 19:17
@shollyman shollyman requested review from a team as code owners April 17, 2024 19:17
@shollyman shollyman requested review from obada-ab and PhongChuong and removed request for obada-ab April 17, 2024 19:17
@shollyman shollyman merged commit 07f0806 into googleapis:main Apr 17, 2024
8 checks passed
@shollyman shollyman deleted the range-data branch April 17, 2024 20:12
gcf-merge-on-green bot pushed a commit that referenced this pull request Apr 24, 2024
🤖 I have created a release *beep* *boop*
---


## [1.61.0](https://togithub.com/googleapis/google-cloud-go/compare/bigquery/v1.60.0...bigquery/v1.61.0) (2024-04-24)


### Features

* **bigquery/storage/managedwriter/adapt:** Add RANGE support to adapt ([#9836](https://togithub.com/googleapis/google-cloud-go/issues/9836)) ([ae25253](https://togithub.com/googleapis/google-cloud-go/commit/ae252533375b21dd41a0ea13e85462bbcad291af))
* **bigquery:** RANGE support for basic data movement ([#9762](https://togithub.com/googleapis/google-cloud-go/issues/9762)) ([07f0806](https://togithub.com/googleapis/google-cloud-go/commit/07f0806a945c2cf0fbc431b63d9c8a30ed3a22fd))
* **bigquery:** RANGE support when reading Arrow format ([#9795](https://togithub.com/googleapis/google-cloud-go/issues/9795)) ([da245fa](https://togithub.com/googleapis/google-cloud-go/commit/da245fac5ee335e86c63bfa5f165b0ab84960847))
* **bigquery:** RANGE type StandardSQLDataType support ([#9754](https://togithub.com/googleapis/google-cloud-go/issues/9754)) ([33666cf](https://togithub.com/googleapis/google-cloud-go/commit/33666cfeaefdebc474045894af069ca7172e836b))


### Bug Fixes

* **bigquery/datatransfer:** Mark parent/name fields with the REQUIRED field_behavior annotation ([8892943](https://togithub.com/googleapis/google-cloud-go/commit/8892943b169060f8ba7be227cd65680696c494a0))
* **bigquery:** Bump x/net to v0.24.0 ([ba31ed5](https://togithub.com/googleapis/google-cloud-go/commit/ba31ed5fda2c9664f2e1cf972469295e63deb5b4))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants