zeroshade commented on issue #231: URL: https://github.com/apache/iceberg-go/issues/231#issuecomment-2636524222
@shubham-tomar it should work rather similarly with iceberg-go: ```go import ( "net/url" "github.com/apache/iceberg-go" "github.com/apache/iceberg-go/catalog" _ "github.com/apache/iceberg-go/catalog/rest" ) func connect(ctx context.Context, catalogURI, catalogBranch, s3Region string) (catalog.Catalog, error) { uri, err := url.JoinPath(catalogURI, "iceberg", catalogBranch) if err != nil { return nil, err } return catalog.Load(ctx, "catalog", iceberg.Properties{ "uri": uri, "s3.region": s3Region, }) } ``` Assuming that the file IO required is already available in the IO package (ie. S3, GCS, or local file system using "file://"). We do not currently have a way to inject a particular IO impl like pyiceberg. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org