Closed ruarai closed 3 weeks ago
Thanks for the bug report @ruarai !
Now sorted and we'll also be adding a section in our docs regarding this. See https://github.com/hubverse-org/hubDocs/issues/177 and https://github.com/orgs/hubverse-org/discussions/31
Our hub has run into an issue with the column type checking. It seems submitting a parquet file with date-times in a date column will raise an error in check_tbl_col_types.R:
This can be resolved of course by making sure the relevant columns are of type date rather than date-time (but this is not super obvious from this error to our submitters, at least).
The error seems to arise as
class(x)
for a date-time vector will return a vector of two values, i.e.:I was going to submit a PR for a simple fix to just return the first element from
class(.x)
- but worried this could cause issues later?Sorry I don't have a reprex for this one.