summaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/expr/result_error.yql
blob: bc32c7aa42126cb78fed0be0c7c99b364e3c3567 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* custom error:Uncompatible member score types: Int32 and String */
$a = [
    <|score: 73|>
];

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

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