You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2024/08/07 08:42:41 UTC

(arrow-adbc) branch main updated: feat(go/adbc/driver/bigquery): add schema to reader for BigQuery (#2050)

This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 07c3e4a45 feat(go/adbc/driver/bigquery): add schema to reader for BigQuery (#2050)
07c3e4a45 is described below

commit 07c3e4a458b6f4513d2fbee77604a924eb5049ac
Author: Clive Cox <uk...@gmail.com>
AuthorDate: Wed Aug 7 09:42:36 2024 +0100

    feat(go/adbc/driver/bigquery): add schema to reader for BigQuery (#2050)
    
    Fixes #2049.
---
 go/adbc/driver/bigquery/record_reader.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/go/adbc/driver/bigquery/record_reader.go b/go/adbc/driver/bigquery/record_reader.go
index 7263d66d5..c5356e313 100644
--- a/go/adbc/driver/bigquery/record_reader.go
+++ b/go/adbc/driver/bigquery/record_reader.go
@@ -124,7 +124,7 @@ func runPlainQuery(ctx context.Context, query *bigquery.Query, alloc memory.Allo
 		curChIndex: 0,
 		err:        nil,
 		cancelFn:   cancelFn,
-		schema:     nil,
+		schema:     rdr.Schema(),
 	}
 
 	go func() {