New IR -- WIP #73373
Annotations
5 errors
Upload test results:
core/trino-main/src/test/java/io/trino/sql/dialect/trino/TestProgramBuilder.java#L113
java.lang.UnsupportedOperationException
at io.trino.type.FunctionType.getFlatFixedSize(FunctionType.java:212)
|
Upload test results:
core/trino-main/src/test/java/io/trino/sql/dialect/trino/TestProgramBuilder.java#L106
expected:
"whatever, give me the printout in the error message"
but was:
"{
^query
%0 = values() : () -> multiset(row(f_1 bigint, f_2 boolean)) ({
^row
%1 = constant() : () -> bigint ()
{constant_result = 1:bigint}
%2 = constant() : () -> boolean ()
{constant_result = true:boolean}
%3 = row(%1, %2) : (bigint, boolean) -> row(bigint, boolean) ()
%4 = return(%3) : (row(bigint, boolean)) -> row(bigint, boolean) ()
}, {
^row
%5 = constant() : () -> bigint ()
{constant_result = 2:bigint}
%6 = constant() : () -> boolean ()
{constant_result = false:boolean}
%7 = row(%5, %6) : (bigint, boolean) -> row(bigint, boolean) ()
%8 = return(%7) : (row(bigint, boolean)) -> row(bigint, boolean) ()
})
{cardinality = 2}
%9 = correlated_join(%0) : (multiset(row(f_1 bigint, f_2 boolean))) -> multiset(row(f_1 bigint, f_2 boolean, f_3 bigint, f_4 boolean, f_5 bigint, f_6 boolean)) ({
^correlationSelector (%10 : row(f_1 bigint, f_2 boolean))
%11 = field_selection(%10) : (row(f_1 bigint, f_2 boolean)) -> bigint ()
{field_name = f_1}
%12 = field_selection(%10) : (row(f_1 bigint, f_2 boolean)) -> boolean ()
{field_name = f_2}
%13 = row(%11, %12) : (bigint, boolean) -> row(bigint, boolean) ()
%14 = return(%13) : (row(bigint, boolean)) -> row(bigint, boolean) ()
}, {
^subquery (%15 : row(f_1 bigint, f_2 boolean))
%16 = values() : () -> multiset(row(f_1 bigint, f_2 boolean)) ({
^row
%17 = constant() : () -> bigint ()
{constant_result = 3:bigint}
%18 = constant() : () -> boolean ()
{constant_result = true:boolean}
%19 = row(%17, %18) : (bigint, boolean) -> row(bigint, boolean) ()
%20 = return(%19) : (row(bigint, boolean)) -> row(bigint, boolean) ()
}, {
^row
%21 = constant() : () -> bigint ()
{constant_result = 4:bigint}
%22 = constant() : () -> boolean ()
{constant_result = false:boolean}
%23 = row(%21, %22) : (bigint, boolean) -> row(bigint, boolean) ()
%24 = return(%23) : (row(bigint, boolean)) -> row(bigint, boolean) ()
})
{cardinality = 2}
%25 = correlated_join(%16) : (multiset(row(f_1 bigint, f_2 boolean))) -> multiset(row(f_1 bigint, f_2 boolean, f_3 bigint, f_4 boolean)) ({
^correlationSelector (%26 : row(f_1 bigint, f_2 boolean))
%27 = field_selection(%26) : (row(f_1 bigint, f_2 boolean)) -> bigint ()
{field_name = f_1}
%28 = field_selection(%26) : (row(f_1 bigint, f_2 boolean)) -> boolean ()
{field_name = f_2}
%29 = row(%27, %28) : (bigint, boolean) -> row(bigint, boolean) ()
%30 = return(%29) : (row(bigint, boolean)) -> row(bigint, boolean) ()
}, {
^subquery (%31 : row(f_1 bigint, f_2 boolean))
%32 = values() : () -> multiset(row(f_1 bigint, f_2 boolean)) ({
^row
%33 = field_selection(%15) : (row(f_1 bigint, f_2 boolean)) -> bigint ()
{field_name = f_1}
%34 = field_selection(%15) : (row(f_1 bigint, f_2 boolean)) -> boolean ()
{field_name = f_2}
%35 = row(%33, %34) : (bigint, boolean) -> row(bigint, boolean) ()
%36 = return(%35) : (row(bigint, boolean)) -> row(
|
Upload test results:
core/trino-main/src/test/java/io/trino/sql/dialect/trino/TestProgramBuilder.java#L60
expected:
"whatever, give me the printout in the error message"
but was:
"{
^query
%0 = values() : () -> multiset(row(f_1 bigint, f_2 boolean)) ({
^row
%1 = constant() : () -> bigint ()
{constant_result = 3:bigint}
%2 = constant() : () -> boolean ()
{constant_result = true:boolean}
%3 = row(%1, %2) : (bigint, boolean) -> row(bigint, boolean) ()
%4 = return(%3) : (row(bigint, boolean)) -> row(bigint, boolean) ()
}, {
^row
%5 = constant() : () -> bigint ()
{constant_result = 5:bigint}
%6 = constant() : () -> boolean ()
{constant_result = false:boolean}
%7 = row(%5, %6) : (bigint, boolean) -> row(bigint, boolean) ()
%8 = return(%7) : (row(bigint, boolean)) -> row(bigint, boolean) ()
})
{cardinality = 2}
%9 = filter(%0) : (multiset(row(f_1 bigint, f_2 boolean))) -> multiset(row(f_1 bigint, f_2 boolean)) ({
^predicate (%10 : row(f_1 bigint, f_2 boolean))
%11 = constant() : () -> boolean ()
{constant_result = true:boolean}
%12 = return(%11) : (boolean) -> boolean ()
})
%13 = output(%9) : (multiset(row(f_1 bigint, f_2 boolean))) -> io.trino.spi.type.VoidType@1d35be49 ({
^outputFieldSelector (%14 : row(f_1 bigint, f_2 boolean))
%15 = field_selection(%14) : (row(f_1 bigint, f_2 boolean)) -> bigint ()
{field_name = f_1}
%16 = row(%15) : (bigint) -> row(bigint) ()
%17 = return(%16) : (row(bigint)) -> row(bigint) ()
})
{output_names = [col_a]}
}"
|
Upload test results:
core/trino-main/src/test/java/io/trino/sql/dialect/trino/TestProgramBuilder.java#L140
java.lang.UnsupportedOperationException
at io.trino.type.FunctionType.getFlatFixedSize(FunctionType.java:212)
|
Maven Tests
Process completed with exit code 1.
|
Loading