# Before [1] this causes a panic, but it will be fixed soon, so do not check
# for panic, but just for SYNTAX_ERROR.
#
# [1]: https://github.com/PRQL/prql/pull/4285
$CLICKHOUSE_CLIENT --dialect prql -q "SELECT id FROM distributed_test_table GROUP BY x -> concat(concat(materialize(toNullable(NULL)))) LIMIT 3"|& grep -o -m1 SYNTAX_ERROR