-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
Description
In audeering/audformat#419 we introduced storing tables as PARQUET files in audformat.
They differ in two important aspects from tables stored in CSV files:
- their changes cannot be tracked by
audeer.md5(), but by a hash stored in their header - they shouldn't be stored in a ZIP file on the server, to make it easier to preview them (and they are already compressed)
Which means, we need to adjust the code to handle them.
As stated in audeering/audformat#419, the hash of those files can be read with:
import pyarrow.parquet as parquet
hash = parquet.read_schema(path).metadata[b"hash"].decode()