@@ -7502,15 +7502,13 @@ void testQueryWithTimeout() throws InterruptedException {
75027502
75037503 @ Test
75047504 void testQueryResultsFormatArrow () throws InterruptedException {
7505- RemoteBigQueryHelper bigqueryHelper = RemoteBigQueryHelper .create ();
7506- BigQuery bigQuery = bigqueryHelper .getOptions ().getService ();
75077505 String query = "SELECT 1 as id, 'hello' as name, TIMESTAMP('2026-08-10T12:00:00Z') as ts" ;
75087506 QueryJobConfiguration config =
75097507 QueryJobConfiguration .newBuilder (query )
75107508 .setQueryResultsFormat (QueryResultsFormat .ARROW )
75117509 .setJobCreationMode (JobCreationMode .JOB_CREATION_OPTIONAL )
75127510 .build ();
7513- try (ArrowQueryResult result = bigQuery .queryArrow (config )) {
7511+ try (ArrowQueryResult result = bigquery .queryArrow (config )) {
75147512 assertNotNull (result );
75157513 int batchCount = 0 ;
75167514 long totalRows = 0 ;
@@ -7526,15 +7524,13 @@ void testQueryResultsFormatArrow() throws InterruptedException {
75267524
75277525 @ Test
75287526 void testQueryResultsFormatArrowMultiPage () throws InterruptedException {
7529- RemoteBigQueryHelper bigqueryHelper = RemoteBigQueryHelper .create ();
7530- BigQuery bigQuery = bigqueryHelper .getOptions ().getService ();
75317527 String query = "SELECT x FROM UNNEST(GENERATE_ARRAY(1, 15000)) AS x" ;
75327528 QueryJobConfiguration config =
75337529 QueryJobConfiguration .newBuilder (query )
75347530 .setQueryResultsFormat (QueryResultsFormat .ARROW )
75357531 .setJobCreationMode (JobCreationMode .JOB_CREATION_OPTIONAL )
75367532 .build ();
7537- try (ArrowQueryResult result = bigQuery .queryArrow (config )) {
7533+ try (ArrowQueryResult result = bigquery .queryArrow (config )) {
75387534 assertNotNull (result );
75397535 long totalRows = 0 ;
75407536 for (VectorSchemaRoot root : result ) {
0 commit comments