Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fuzzer Fix: Fix Avg for NULL cast to TIMESTAMP (#16394)
Fixes duckdb/duckdb-fuzzer#3990 Fix (I think) Is to not use the DivModPositive Function as it assumes the LHS is positive. However, it seems like when NULL is cast to `Timestamp` a negative timestamp/hugeint_t value is used. Another fix may be a different timestamp value when casting NULL. Commit causing the error was [1e40481](1e40481). CC @hawkfish
- Loading branch information