Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove opening the file object
Let pyarrow handle opening the path using the filesystem.

Signed-off-by: Max Z <max.zwiessele@babylonhealth.com>
  • Loading branch information
mzwiessele committed Sep 15, 2022
commit ea1a315c73eaad535cfcbb691466adef23d4eca8
2 changes: 1 addition & 1 deletion sdk/python/feast/infra/offline_stores/file_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def get_table_column_names_and_types(
schema = ParquetDataset(path).schema.to_arrow_schema()
else:
schema = ParquetDataset(
filesystem.open_input_file(path), filesystem=filesystem
path, filesystem=filesystem
).schema

return zip(schema.names, map(str, schema.types))
Expand Down