Skip to content

Disallow tables with s3://bucket location (without trailing slash after bucket name) #17921

@findepi

Description

@findepi

This was missed in test coverage in #17848

We should also define whether we accept locations like s3://bucket.

HMS rejects this (so it's hard to test in the above PR's test setup), but Trino does not.
So one can use such a location with Glue, for example. Athena won’t read from such table, but we may.

If we want to support these, we need to have test coverage for that. Marking release-blocker since it should be part of #17848 which was a release-blocker itself.

If we do not want to support these, we need to reject them on Trino side, otherwise such locations may be used in real world, and then we cannot take this back.

For context: I believe such locations weren't supported before #15921, but haven't checked.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions