Skip to content

Commit

Permalink
chore: update msg
Browse files Browse the repository at this point in the history
  • Loading branch information
ion-elgreco committed Oct 4, 2024
1 parent ea25c40 commit 11723c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py-polars/polars/io/delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def scan_delta(
):
msg = (
f"The table's minimum reader version is {table_protocol.min_reader_version} "
f"but deltalake only supports version 1 or {MAX_SUPPORTED_READER_VERSION} with these reader features: {SUPPORTED_READER_FEATURES}"
f"but polars delta scanner only supports version 1 or {MAX_SUPPORTED_READER_VERSION} with these reader features: {SUPPORTED_READER_FEATURES}"
)
raise DeltaProtocolError(msg)
if (
Expand All @@ -271,7 +271,7 @@ def scan_delta(
SUPPORTED_READER_FEATURES
)
if len(missing_features) > 0:
msg = f"The table has set these reader features: {missing_features} but these are not yet supported by the deltalake reader."
msg = f"The table has set these reader features: {missing_features} but these are not yet supported by the polars delta scanner."
raise DeltaProtocolError(msg)

delta_schema = dl_tbl.schema().to_pyarrow(as_large_types=True)
Expand Down

0 comments on commit 11723c2

Please sign in to comment.