Skip to content

Commit

Permalink
update feast and pyarrow version (#135)
Browse files Browse the repository at this point in the history
* updated feast version

* bumped the version

* upgrade pyarrow
  • Loading branch information
ddl-joyce-zhao authored Jan 29, 2024
1 parent 062b365 commit 1648daf
Show file tree
Hide file tree
Showing 4 changed files with 253 additions and 238 deletions.
4 changes: 3 additions & 1 deletion domino_data/data_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ def to_parquet(self, where: Any) -> None:
where: path of file-like object.
"""
table = self.reader.read_all()
parquet.write_table(table, where)
# In Pyarrow v13.0, the parquet version was upgraded to v2.6 from v2.4.
# Set the coerce_timestamps to "us"(microseconds) for backward compatibility.
parquet.write_table(table, where, coerce_timestamps="us")


@attr.s
Expand Down
Loading

0 comments on commit 1648daf

Please sign in to comment.