mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Add tests
This commit is contained in:
parent
aacc0bee53
commit
b87cfd2924
@ -427,3 +427,6 @@ SELECT COVAR_POPArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int8)]));
|
||||
SELECT COVAR_SAMPArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int8)]));
|
||||
SELECT medianTimingWeightedArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int8)]));
|
||||
SELECT quantilesDeterministicArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int32)]));
|
||||
|
||||
SELECT maxIntersections([], [])
|
||||
SELECT sumMap([], [])
|
||||
|
@ -5,4 +5,4 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
|
||||
. $CURDIR/00534_long_functions_bad_arguments.lib
|
||||
|
||||
test_variant 'SELECT $_('');'
|
||||
test_variant 'SELECT $_(\'\');'
|
||||
|
10
dbms/tests/queries/0_stateless/00534_long_functions_bad_arguments8.sh
Executable file
10
dbms/tests/queries/0_stateless/00534_long_functions_bad_arguments8.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. $CURDIR/../shell_config.sh
|
||||
|
||||
. $CURDIR/00534_long_functions_bad_arguments.lib
|
||||
|
||||
test_variant 'SELECT $_(NULL, NULL);'
|
||||
test_variant 'SELECT $_([], []);'
|
||||
test_variant 'SELECT $_([NULL],[NULL]);'
|
10
dbms/tests/queries/0_stateless/00534_long_functions_bad_arguments9.sh
Executable file
10
dbms/tests/queries/0_stateless/00534_long_functions_bad_arguments9.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. $CURDIR/../shell_config.sh
|
||||
|
||||
. $CURDIR/00534_long_functions_bad_arguments.lib
|
||||
|
||||
test_variant 'SELECT $_(NULL, NULL, NULL);'
|
||||
test_variant 'SELECT $_([], [], []);'
|
||||
test_variant 'SELECT $_([NULL], [NULL], [NULL]);'
|
Loading…
Reference in New Issue
Block a user