is there a way to revive DateFacet and ArrayFacet?
cldellow opened this issue · comments
The Facet class gets a reference to its database, so we can generate DuckDB specific queries
Another challenge might be expressing the filter. Dates in parquet aren't strings, so created LIKE '2023-01-01%'
won't work.
I'm a little afraid that we'd need actual proper support from Datasette
I could imagine doing some crazy hacks to make it work, if we really wanted to: take over all the filter generation, consulting the type of the column to know whether to do a simple string LIKE or a date comparison