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 98caec103 ci: fix nightly Docker tests (#3278)
98caec103 is described below

commit 98caec1036c4b72ab520e3af2c80999493611f95
Author: David Li <[email protected]>
AuthorDate: Wed Aug 13 08:37:14 2025 +0900

    ci: fix nightly Docker tests (#3278)
---
 ci/docker/cpp-gcc-latest.dockerfile |  2 +-
 go/adbc/pkg/bigquery/extra.go       | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/ci/docker/cpp-gcc-latest.dockerfile 
b/ci/docker/cpp-gcc-latest.dockerfile
index 38a7781ef..dd60dba2d 100644
--- a/ci/docker/cpp-gcc-latest.dockerfile
+++ b/ci/docker/cpp-gcc-latest.dockerfile
@@ -23,7 +23,7 @@ ENV DEBIAN_FRONTEND noninteractive
 
 RUN apt-get update -y && \
     apt-get install -y -q cmake curl git gnupg libpq-dev libsqlite3-dev 
pkg-config && \
-    apt-get install -y -q -t experimental g++-${GCC} gcc-${GCC} && \
+    apt-get install -y -q g++-${GCC} gcc-${GCC} && \
     apt-get clean
 
 RUN curl -L -o go.tar.gz https://go.dev/dl/go${GO}.linux-amd64.tar.gz && \
diff --git a/go/adbc/pkg/bigquery/extra.go b/go/adbc/pkg/bigquery/extra.go
new file mode 100644
index 000000000..7b5bbfb2c
--- /dev/null
+++ b/go/adbc/pkg/bigquery/extra.go
@@ -0,0 +1,35 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+//go:build driverlib
+
+// Handwritten. Not regenerated.
+
+package main
+
+// #cgo CFLAGS: -DADBC_EXPORTING
+// #cgo CXXFLAGS: -std=c++17 -DADBC_EXPORTING
+// #include "../../drivermgr/arrow-adbc/adbc.h"
+import "C"
+
+//export AdbcDriverBigqueryInit
+func AdbcDriverBigqueryInit(version C.int, rawDriver *C.void, err 
*C.struct_AdbcError) C.AdbcStatusCode {
+       // The driver manager expects the spelling Bigquery and not BigQuery
+       // as it derives the init symbol name from the filename
+       // (adbc_driver_bigquery -> AdbcDriverBigquery)
+       return AdbcDriverBigQueryInit(version, rawDriver, err)
+}

Reply via email to