Skip to content

Commit

Permalink
feat: raise error on specified table location
Browse files Browse the repository at this point in the history
  • Loading branch information
felixscherz committed Jan 7, 2025
1 parent f2312a3 commit 59e4f73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyiceberg/catalog/s3tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ def create_table(
sort_order: SortOrder = UNSORTED_SORT_ORDER,
properties: Properties = EMPTY_DICT,
) -> Table:
if location:
raise NotImplementedError("S3 Tables does not support user specified table locations.")
namespace, table_name = self._validate_database_and_table_identifier(identifier)

schema: Schema = self._convert_schema_if_needed(schema) # type: ignore
Expand Down

0 comments on commit 59e4f73

Please sign in to comment.