From 92136919fa28b0948f66423cc17da4bd57eeadf4 Mon Sep 17 00:00:00 2001 From: Shicong Date: Fri, 29 Nov 2024 17:02:00 +0800 Subject: [PATCH] prepare for upgrade flight sql --- pkg/arrow_flightsql/arrow.go | 6 +++--- pkg/arrow_flightsql/client.go | 8 ++++---- pkg/arrow_flightsql/datasource.go | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pkg/arrow_flightsql/arrow.go b/pkg/arrow_flightsql/arrow.go index 2715421..cfde245 100644 --- a/pkg/arrow_flightsql/arrow.go +++ b/pkg/arrow_flightsql/arrow.go @@ -8,9 +8,9 @@ import ( "runtime/debug" "time" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" - "github.com/apache/arrow/go/v12/arrow/scalar" + "github.com/apache/arrow/go/v18/arrow" + "github.com/apache/arrow/go/v18/arrow/array" + "github.com/apache/arrow/go/v18/arrow/scalar" "github.com/grafana/grafana-plugin-sdk-go/backend" "github.com/grafana/grafana-plugin-sdk-go/data" "github.com/grafana/grafana-plugin-sdk-go/data/sqlutil" diff --git a/pkg/arrow_flightsql/client.go b/pkg/arrow_flightsql/client.go index 3657c68..79213bf 100644 --- a/pkg/arrow_flightsql/client.go +++ b/pkg/arrow_flightsql/client.go @@ -6,10 +6,10 @@ import ( "fmt" "sync" - "github.com/apache/arrow/go/v12/arrow/flight" - "github.com/apache/arrow/go/v12/arrow/flight/flightsql" - "github.com/apache/arrow/go/v12/arrow/ipc" - "github.com/apache/arrow/go/v12/arrow/memory" + "github.com/apache/arrow/go/v18/arrow/flight" + "github.com/apache/arrow/go/v18/arrow/flight/flightsql" + "github.com/apache/arrow/go/v18/arrow/ipc" + "github.com/apache/arrow/go/v18/arrow/memory" "google.golang.org/grpc" "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" diff --git a/pkg/arrow_flightsql/datasource.go b/pkg/arrow_flightsql/datasource.go index b77d7be..605ceeb 100644 --- a/pkg/arrow_flightsql/datasource.go +++ b/pkg/arrow_flightsql/datasource.go @@ -10,10 +10,10 @@ import ( "sort" "time" - "github.com/apache/arrow/go/v12/arrow/array" - "github.com/apache/arrow/go/v12/arrow/flight" - "github.com/apache/arrow/go/v12/arrow/flight/flightsql" - "github.com/apache/arrow/go/v12/arrow/memory" + "github.com/apache/arrow/go/v18/arrow/array" + "github.com/apache/arrow/go/v18/arrow/flight" + "github.com/apache/arrow/go/v18/arrow/flight/flightsql" + "github.com/apache/arrow/go/v18/arrow/memory" "github.com/go-chi/chi/v5" "github.com/grafana/grafana-plugin-sdk-go/backend" "github.com/grafana/grafana-plugin-sdk-go/backend/instancemgmt"