Igosuki commented on issue #1836:
URL:
https://github.com/apache/arrow-datafusion/issues/1836#issuecomment-1040075677
I think what you're looking for is defining 'namespaces' or 'databases'
rather than prefixes, which could then be :
```rust
for table in ["table1", "table2"] {
ctx.register(uri: format!("s3://bucket/active/{table}"))
}
// trailing space = list
ctx.register(uri: "s3://bucket/active/", namespace: "active")
// supports globs
ctx.register(urI: "s3://bucket/active/{*}")
```
```rust
ctx.sql("select * from active.table1");
```
--
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]