ClickHouse/tests/queries/0_stateless/02317_functions_with_nothing.sql

8 lines
586 B
MySQL
Raw Normal View History

SELECT JSONExtractKeysAndValuesRaw(arrayJoin([])); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}
SELECT JSONHas(arrayJoin([])); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}
SELECT isValidJSON(arrayJoin([])); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}
2022-06-03 12:03:15 +00:00
SELECT concat(arrayJoin([]), arrayJoin([NULL, ''])); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}
SELECT plus(arrayJoin([]), arrayJoin([NULL, 1])); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}
2022-06-07 14:17:14 +00:00
SELECT sipHash64(arrayJoin([]), [NULL], arrayJoin(['', NULL, '', NULL])); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}
2022-06-07 11:23:59 +00:00
SELECT [concat(NULL, arrayJoin([]))];