Skip to content

Commit

Permalink
chore: disable lakefs for pyarrow engine
Browse files Browse the repository at this point in the history
Signed-off-by: Ion Koutsouris <[email protected]>
  • Loading branch information
ion-elgreco committed Jan 10, 2025
1 parent 07ae1a3 commit 814fc58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:

- name: Download Lakectl
run: |
wget -q https://github.com/treeverse/lakeFS/releases/download/1.48.1/lakeFS_1.48.1_Linux_x86_64.tar.gz
wget -q https://github.com/treeverse/lakeFS/releases/download/v1.48.1/lakeFS_1.48.1_Linux_x86_64.tar.gz
tar -xf lakeFS_1.48.1_Linux_x86_64.tar.gz -C $GITHUB_WORKSPACE
echo "$GITHUB_WORKSPACE" >> $GITHUB_PATH
Expand Down
5 changes: 5 additions & 0 deletions python/deltalake/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,11 @@ def write_deltalake(
"Predicate can only be used with Rust engine, use partition_filters instead. PyArrow engine will be removed in 1.0"
)

if table_uri.startswith("lakefs://"):
raise NotImplementedError(
"LakeFS object_store is not supported for PyArrow engine. Set engine to 'rust'."
)

if large_dtypes:
arrow_schema_conversion_mode = "large"
else:
Expand Down

0 comments on commit 814fc58

Please sign in to comment.