ebrotz opened a new issue, #302:
URL: https://github.com/apache/iceberg-go/issues/302
### Question
I'm trying to create a table on a local MinIO instance and I'm just getting
a `filesystem IO does not support writing` I'm using a postgres catalog and
already have some entries in there (using Trino as well).
Snippet for how I'm creating the catalog:
```go
properties := map[string]string{
io.S3EndpointURL: endpoint,
io.S3AccessKeyID: accessKey,
io.S3SecretAccessKey: secretKey,
io.S3Region: "local",
}
catalog, err := catalogsql.NewCatalog("iceberg", db, catalogsql.Postgres,
iceberg.Properties(properties))
```
and then later
```go
namespace := "iceberg-test-2"
table := "test-table-2"
location := "s3a://the-bucket/warehouse/iceberg-test-2/test-table-2"
_, err := c.CreateTable(cmd.Context(), catalog.ToIdentifier(namespace,
table), iceberg.NewSchema(0), catalog.WithLocation(location))
if err != nil {
log.Fatalf("failed to create table: %s", err.Error())
}
```
I'm a little lost, because I can use `mc` to transfer files in and out of my
minio instance. Any help would be appreciated!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]