summaryrefslogtreecommitdiffstats
path: root/yt/yql/tests/sql/suites/insert/error.yql
blob: 01d1138baeb40a81653730d418c7e436e80d0b4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* custom error:Uncompatible member score types: Int32 and String */
use plato;

$a = [
    <|score: 73|>
];

$b = [
    <|score: '42'|>
];

INSERT INTO Output
SELECT
    *
FROM
    AS_TABLE($a)
UNION ALL
SELECT
    *
FROM
    AS_TABLE($b)
;