ModelarData / ModelarDB-RS

ModelarDB: Model-Based Time Series Management from Edge to Cloud
Apache License 2.0
12 stars 5 forks source link

Use object_store crate to read/write Parquet to local storage #170

Closed CGodiksen closed 6 months ago

CGodiksen commented 6 months ago

Added functions to read/write Apache Parquet using the object_store crate instead of std::fs. These new functions are used throughout the code instead of the old functions that used std::fs. Since we now use an ObjectStore when reading and writing files, the local data folder is now also represented with an object store instead of PathBuf. This makes file I/O consistent since we now always use the object_store crate, no matter if it is local or remote file I/O.

It should also be noted that all uses of std:fs, std::Path, and PathBuf have been removed and replaced with corresponding functionality from the object_store crate.