alamb commented on issue #25662:
URL: https://github.com/apache/datafusion/issues/25662#issuecomment-5820356469
> Object store fit: ObjectStoreRegistry is URL-keyed, which maps naturally
onto DuckDB-style scopes. However, it resolves at scheme+host (bucket)
granularity, while DuckDB matches arbitrary prefixes. Decide whether
prefix-level scoping is worth changing registry resolution.
Yeah, this was one of the thoughts I had.
I actually think DataFusion should strive to have the simplest, most
flexible model, which in my mind sort of argues for secrets being named
collections
```sql
create secret <secret name> ( ...)
```
where `(...)` represents key/value pairs
So then the DuckDB syntax like
```sql
CREATE SECRET my_secret (
TYPE s3,
KEY_ID 'my_secret_key',
SECRET 'my_secret_value',
REGION 'my_region'
);
```
Could be supported but DataFusion wouldn't put any semantic meaning into
`TYPE`, `SECRET`, etc -- it would just pass them as strings 🤔
--
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]