Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go: Unable to use latest arrow-go libraries due to package change #2290

Open
hsight opened this issue Oct 29, 2024 · 1 comment
Open

Go: Unable to use latest arrow-go libraries due to package change #2290

hsight opened this issue Oct 29, 2024 · 1 comment
Labels
Type: bug Something isn't working

Comments

@hsight
Copy link

hsight commented Oct 29, 2024

What happened?

Using v18.0.0 release its not possible to use arrow adbc go as it is still using the previous package v15 release

github.com/apache/arrow/go/v15 v15.0.2 // indirect

whereas arrow go now has package name arrow-go

https://github.com/apache/arrow-go/blob/8e2553add564f86b5c5d9b96f6a29883af649e7a/go.mod#L17

Stack Trace

Example error:

cannot use arrayReader (variable of type "github.com/apache/arrow/go/v18/arrow/array".RecordReader) as "github.com/apache/arrow-go/v18/arrow/array".RecordReader value in argument to arrow.NewRecordReaderWithReleaser: "github.com/apache/arrow/go/v18/arrow/array".RecordReader does not implement "github.com/apache/arrow-go/v18/arrow/array".RecordReader (wrong type for method Record)
		have Record() "github.com/apache/arrow/go/v18/arrow".Record
		want Record() "github.com/apache/arrow-go/v18/arrow".Record

How can we reproduce the bug?

Upgrade to arrow-go v18 with a program that uses go adbc

Environment/Setup

Linux

@lidavidm
Copy link
Member

I'll bump to arrow-go v18, but it looks like v15 is there because of BigQuery

lidavidm added a commit to lidavidm/arrow-adbc that referenced this issue Oct 30, 2024
lidavidm added a commit to lidavidm/arrow-adbc that referenced this issue Oct 30, 2024
lidavidm added a commit to lidavidm/arrow-adbc that referenced this issue Oct 31, 2024
lidavidm added a commit that referenced this issue Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants