ClickHouse/tests/queries/0_stateless/00534_functions_bad_arguments.lib

7 lines
307 B
Plaintext
Raw Normal View History

2018-01-17 13:43:29 +00:00
#!/usr/bin/env bash
function test_variant {
2018-08-24 07:53:24 +00:00
perl -E "say \$_ for map {chomp; (qq{$1})} qx{$CLICKHOUSE_CLIENT -q 'SELECT name FROM system.functions ORDER BY name;'}" | $CLICKHOUSE_CLIENT --calculate_text_stack_trace=0 -n --ignore-error >/dev/null 2>&1
2018-01-17 13:43:29 +00:00
$CLICKHOUSE_CLIENT -q "SELECT 'Still alive'"
}