mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Merge pull request #37744 from vdimir/issue_35857
Add test 02315_pmj_union_ubsan_35857
This commit is contained in:
commit
7f7099e70f
@ -0,0 +1,2 @@
|
||||
\N
|
||||
\N
|
24
tests/queries/0_stateless/02315_pmj_union_ubsan_35857.sql
Normal file
24
tests/queries/0_stateless/02315_pmj_union_ubsan_35857.sql
Normal file
@ -0,0 +1,24 @@
|
||||
-- Tags: no-backward-compatibility-check
|
||||
|
||||
SET join_algorithm = 'partial_merge';
|
||||
|
||||
SELECT NULL
|
||||
FROM
|
||||
(
|
||||
SELECT
|
||||
NULL,
|
||||
1 AS a,
|
||||
0 :: Nullable(UInt8) AS c
|
||||
UNION ALL
|
||||
SELECT
|
||||
NULL,
|
||||
65536,
|
||||
NULL
|
||||
) AS js1
|
||||
ALL LEFT JOIN
|
||||
(
|
||||
SELECT 2 :: Nullable(UInt8) AS a
|
||||
) AS js2
|
||||
USING (a)
|
||||
ORDER BY c
|
||||
;
|
Loading…
Reference in New Issue
Block a user