Now sites have a new way to spy on their visitors: measuring subtle interactions with their solid-state drives. The technique ...
SlothDB is a from-scratch C++20 embedded SQL database in active development. Same model as DuckDB and SQLite: query Parquet, CSV, JSON, Arrow, Avro, SQLite, and Excel files directly with SQL, ...
without the single quotes on the datepart. Is there any way to allow pypika to return either a non-quoted datepart, or even a double-quoted one?
Use a CTE that returns the row ID and the result of the DateDiff, then join that to your existing result set? It may or may not be faster, so as always, test it to see.