Files
email-tracker/external/duckdb/test/fuzzer/duckfuzz/pivot_aggregate_mismatch.test
2025-10-24 19:21:19 -05:00

13 lines
333 B
SQL

# name: test/fuzzer/duckfuzz/pivot_aggregate_mismatch.test
# description: Pivot with non-aggregate function
# group: [duckfuzz]
require icu;
statement ok
PRAGMA enable_verification
statement error
FROM (VALUES (42)) t(i) PIVOT (current_date() FOR (i) IN (41))
----
Binder Error: Pivot expression must contain exactly one aggregate