Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
ddda891
feat(bigquery): add zero-copy queryArrow API for Arrow VectorSchemaRo…
jinseopkim0 Sep 14, 2026
e61ade5
fix(bigquery): address bot review comments on queryArrow and settings
jinseopkim0 Sep 14, 2026
f56b410
fix(bigquery): support IPv6 loopback for plaintext channel configuration
jinseopkim0 Sep 14, 2026
741e9f1
fix(bigquery): cache BigQueryReadClient by location and configure reg…
jinseopkim0 Sep 16, 2026
4c8eeb6
fix(bigquery): throw UnsupportedOperationException when query() calle…
jinseopkim0 Sep 16, 2026
b5ebf19
chore(bigquery): inline and remove unused queryArrowWithTimeout inter…
jinseopkim0 Sep 16, 2026
41ae83e
chore(bigquery): add explanatory comments to queryArrow
jinseopkim0 Sep 16, 2026
e1e593d
fix(bigquery): isolate user-provided global read client and improve l…
jinseopkim0 Sep 16, 2026
976c20c
fix(bigquery): address review feedback on queryArrow and client lifec…
jinseopkim0 Sep 16, 2026
21f59a2
fix(bigquery): improve emulator endpoint detection and exception-safe…
jinseopkim0 Sep 17, 2026
92f3ee9
fix(bigquery): preserve default ADC resolution when options credentia…
jinseopkim0 Sep 17, 2026
ba202a9
fix(bigquery): revert AutoCloseable and simplify client synchronization
jinseopkim0 Sep 17, 2026
060756e
fix(bigquery): address review feedback on endpoint configuration and …
jinseopkim0 Sep 17, 2026
9cbcf6f
fix(bigquery): fail fast when QueryResultsFormat is not ARROW in quer…
jinseopkim0 Sep 17, 2026
556389a
fix(bigquery): use ConcurrentHashMap with capped size for storage rea…
jinseopkim0 Sep 17, 2026
0619593
fix(bigquery): remove unused declared gax-grpc and grpc-api dependencies
jinseopkim0 Sep 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions java-bigquery/google-cloud-bigquery/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@
<artifactId>arrow-memory-netty</artifactId>
</dependency>



<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1639,6 +1639,58 @@ TableResult query(QueryJobConfiguration configuration, JobOption... options)
TableResult query(QueryJobConfiguration configuration, JobId jobId, JobOption... options)
throws InterruptedException, JobException;

/**
* <b>[Beta]</b> Runs the query associated with the request and returns an {@link
* ArrowQueryResult} yielding Apache Arrow {@code VectorSchemaRoot} batches directly for zero-copy
* vector access.
*
* <p>Callers must manage off-heap native memory by closing the returned {@link ArrowQueryResult}
* (e.g. via a {@code try-with-resources} block).
*
* <p><b>Prerequisite:</b> Requires the BigQuery Storage Read API ({@code
* bigquerystorage.googleapis.com}) to be enabled on your GCP project.
*
* @param configuration the query configuration
* @param options query options
* @return an {@link ArrowQueryResult} streaming Arrow vectors
* @throws BigQueryException upon failure
* @throws InterruptedException if the current thread gets interrupted while waiting for the query
* to complete
* @throws JobException if the job completes unsuccessfully
*/
@BetaApi
default ArrowQueryResult queryArrow(QueryJobConfiguration configuration, JobOption... options)
throws InterruptedException, JobException {
throw new UnsupportedOperationException("queryArrow is not implemented");
}

/**
* <b>[Beta]</b> Runs the query associated with the request, using the given JobId, and returns an
* {@link ArrowQueryResult} yielding Apache Arrow {@code VectorSchemaRoot} batches directly for
* zero-copy vector access.
*
* <p>Callers must manage off-heap native memory by closing the returned {@link ArrowQueryResult}
* (e.g. via a {@code try-with-resources} block).
*
* <p><b>Prerequisite:</b> Requires the BigQuery Storage Read API ({@code
* bigquerystorage.googleapis.com}) to be enabled on your GCP project.
*
* @param configuration the query configuration
* @param jobId the job ID to use
* @param options query options
* @return an {@link ArrowQueryResult} streaming Arrow vectors
* @throws BigQueryException upon failure
* @throws InterruptedException if the current thread gets interrupted while waiting for the query
* to complete
* @throws JobException if the job completes unsuccessfully
*/
@BetaApi
default ArrowQueryResult queryArrow(
QueryJobConfiguration configuration, JobId jobId, JobOption... options)
throws InterruptedException, JobException {
throw new UnsupportedOperationException("queryArrow is not implemented");
}

/**
* Starts the query associated with the request, using the given JobId. It returns either
* TableResult for quick queries or Job object for long-running queries.
Expand Down
Loading
Loading