Skip to content

Commit 0b89d50

Browse files
committed
feat: Make Spark Compute able to use other source
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
1 parent e93b502 commit 0b89d50

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/python/feast/infra/offline_stores/duckdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _write_data_source(
9696
prev_schema = (
9797
DeltaTable(file_options.uri, storage_options=storage_options)
9898
.schema()
99-
.to_arrow()
99+
.to_pyarrow()
100100
)
101101
table = table.cast(ibis.Schema.from_pyarrow(prev_schema))
102102
write_mode = "append"

sdk/python/feast/infra/offline_stores/file_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def get_table_column_names_and_types(
202202
schema = (
203203
DeltaTable(self.path, storage_options=storage_options)
204204
.schema()
205-
.to_arrow()
205+
.to_pyarrow()
206206
)
207207
else:
208208
raise Exception(f"Unknown FileFormat -> {self.file_format}")

0 commit comments

Comments
 (0)