Bug
Currently our code to read schema metadata ArchiveReader::read_metadata will return ErrorCodeUnsupported when there are zero schemas in an archive. We can legitimately produce archives like this by passing empty files to ingestion, with no files containing any data.
We should update the read-side code to allow reading archives with no schemas instead of returning ErrorCodeUnsupported.
CLP version
0.10.0
Environment
Ubuntu docker container.
Reproduction steps
Ingest empty files as described. Observe the error by invoking clp-s x on the archive(s).
Bug
Currently our code to read schema metadata
ArchiveReader::read_metadatawill returnErrorCodeUnsupportedwhen there are zero schemas in an archive. We can legitimately produce archives like this by passing empty files to ingestion, with no files containing any data.We should update the read-side code to allow reading archives with no schemas instead of returning
ErrorCodeUnsupported.CLP version
0.10.0
Environment
Ubuntu docker container.
Reproduction steps
Ingest empty files as described. Observe the error by invoking
clp-s xon the archive(s).