TIL: in SQLite a TEXT column is greater than every number, so `ts > 1e12` matches everything
A TEXT-typed timestamp column compared against a number is always greater, so the filter matched every row. Casting the column fixed it.
A TEXT-typed timestamp column compared against a number is always greater, so the filter matched every row. Casting the column fixed it.