cockroachdb / cockroachdb/pebble

Cannot be used together with the arrow-go library. It reports a dependency conflict.

Open
#6,041 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6k
Forks
584
Avg merge
16h 35m
Merged PRs (30d)
5

Description

```
github.com/apache/arrow-go/v18/parquet tested by
github.com/apache/arrow-go/v18/parquet.test imports
github.com/apache/arrow-go/v18/parquet/pqarrow imports
github.com/apache/arrow-go/v18/arrow/flight imports
google.golang.org/grpc/status imports
google.golang.org/genproto/googleapis/rpc/status: ambiguous import: found package google.golang.org/genproto/googleapis/rpc/status in multiple modules:
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 (c:\gosrc\pkg\mod\google.golang.org\genproto@v0.0.0-20230410155749-daa745c078e1\googleapis\rpc\status)
google.golang.org/genproto/googleapis/rpc v0.0.0-20260120221211-b8f7ae30c516 (c:\gosrc\pkg\mod\google.golang.org\genproto\googleapis\rpc@v0.0.0-20260120221211-b8f7ae30c516\status)
```
```
go mod graph | Select-String "genproto@"

github.com/cockroachdb/errors@v1.11.3 google.golang.org/genproto@v0.0.0-20230410155749-daa745c078e1
```
pebble --> github.com/cockroachdb/errors v1.11.3 --> google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1
but,arrow-go --> google.golang.org/genproto/googleapis/rpc v0.0.0-20260120221211-b8f7ae30c516

Jira issue: PEBBLE-1440

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the dependency conflict with the arrow-go library, then run `go mod graph` to trace the competing genproto modules through Pebble and github.com/cockroachdb/errors. Done means Pebble can be used alongside arrow-go without the ambiguous import error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, grpc
Domain
build-system, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.