Closed fuzzerofducks closed 3 weeks ago
Seems like this was caused again by the fuzzer shoving NULL
values into all the functions it could find
the following is in the query.
FROM read_ndjson(NULL, filename := NULL)
I'm a little confused reading the explanation and seeing the found error:
Binder Error: No function matches the given name and argument types 'dayofweek(TIMESTAMP WITH TIME ZONE)'. You might need to add explicit type casts.
Candidate functions:
dayofweek(DATE) -> BIGINT
dayofweek(TIMESTAMP) -> BIGINT
dayofweek(INTERVAL) -> BIGINT
LINE 1: ... LIMIT 1 OFFSET 2) !~~* subq_0.c3) OR (dayofweek(CAST(now() AS TIMESTAMP WITH ...
This doesn't sound to me like NULL is being inserted This just fails because ICU is not loaded, which is confirmed by this succeeding in the python sqllogictester because ICU is loaded by default there
I think that test is mostly just testing that the address sanitizer issue doesn't pop up as it did before.
Maybe we can disable the built-in extensions for the Python SQLLogicTester CI run? e.g. we can parse the extensions
list from an environment variable in setup.py
and set it to an empty list explicitly in the CI run? That way the regular test behavior is matched
Issue found by DuckFuzz on git commit hash ee349 using seed 10633964.
To Reproduce
Error Message