diff --git a/tests/queries/0_stateless/01413_if_array_uuid.reference b/tests/queries/0_stateless/01413_if_array_uuid.reference new file mode 100644 index 00000000000..fbfa90bfc85 --- /dev/null +++ b/tests/queries/0_stateless/01413_if_array_uuid.reference @@ -0,0 +1,5 @@ +['00000000-e1fe-11e9-bb8f-853d60c00749'] +['11111111-e1fe-11e9-bb8f-853d60c00749'] +['00000000-e1fe-11e9-bb8f-853d60c00749'] +['11111111-e1fe-11e9-bb8f-853d60c00749'] +['00000000-e1fe-11e9-bb8f-853d60c00749'] diff --git a/tests/queries/0_stateless/01413_if_array_uuid.sql b/tests/queries/0_stateless/01413_if_array_uuid.sql new file mode 100644 index 00000000000..6b8fa387c44 --- /dev/null +++ b/tests/queries/0_stateless/01413_if_array_uuid.sql @@ -0,0 +1 @@ +SELECT if(number % 2 = 0, [toUUID('00000000-e1fe-11e9-bb8f-853d60c00749')], [toUUID('11111111-e1fe-11e9-bb8f-853d60c00749')]) FROM numbers(5);