By removing ODS preview, our custom tabular preview gets used instead.
However, tabular preview requires a filesize lower than a threshold but ODS resources don't have any filesize harvested (this information is not exposed by ODS).
Only if the resource has been crawled by linkchecker in the past or has been crawled by new hydra crawler and has an extra check:headers:content-length lower than a threshold, it can be previewed and explored.
Close https://github.com/etalab/data.gouv.fr/issues/1063
By removing ODS preview, our custom tabular preview gets used instead.
However, tabular preview requires a filesize lower than a threshold but ODS resources don't have any
filesize
harvested (this information is not exposed by ODS). Only if the resource has been crawled by linkchecker in the past or has been crawled by new hydra crawler and has an extracheck:headers:content-length
lower than a threshold, it can be previewed and explored.