Simplification of Nullable [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2017-12-08 10:12:00 +03:00
parent 1b60106333
commit 09ddf5e21d
3 changed files with 1422 additions and 8847 deletions

View File

@ -255,12 +255,12 @@ DataTypePtr FunctionCaseWithExpression::getReturnTypeImpl(const DataTypes & args
FunctionArray fun_array{context};
DataTypePtr src_array_type = fun_array.getReturnTypeImpl(src_array_types);
DataTypePtr dst_array_type = fun_array.getReturnTypeImpl(dst_array_types);
DataTypePtr src_array_type = fun_array.getReturnType(src_array_types);
DataTypePtr dst_array_type = fun_array.getReturnType(dst_array_types);
/// Finally get the return type of the transform function.
FunctionTransform fun_transform;
return fun_transform.getReturnTypeImpl({args.front(), src_array_type, dst_array_type, args.back()});
return fun_transform.getReturnType({args.front(), src_array_type, dst_array_type, args.back()});
}
void FunctionCaseWithExpression::executeImpl(Block & block, const ColumnNumbers & args, size_t result)
@ -296,8 +296,8 @@ void FunctionCaseWithExpression::executeImpl(Block & block, const ColumnNumbers
FunctionArray fun_array{context};
DataTypePtr src_array_type = fun_array.getReturnTypeImpl(src_array_types);
DataTypePtr dst_array_type = fun_array.getReturnTypeImpl(dst_array_types);
DataTypePtr src_array_type = fun_array.getReturnType(src_array_types);
DataTypePtr dst_array_type = fun_array.getReturnType(dst_array_types);
Block temp_block = block;
@ -307,14 +307,14 @@ void FunctionCaseWithExpression::executeImpl(Block & block, const ColumnNumbers
size_t dst_array_pos = temp_block.columns();
temp_block.insert({nullptr, dst_array_type, ""});
fun_array.executeImpl(temp_block, src_array_args, src_array_pos);
fun_array.executeImpl(temp_block, dst_array_args, dst_array_pos);
fun_array.execute(temp_block, src_array_args, src_array_pos);
fun_array.execute(temp_block, dst_array_args, dst_array_pos);
/// Execute transform.
FunctionTransform fun_transform;
ColumnNumbers transform_args{args.front(), src_array_pos, dst_array_pos, args.back()};
fun_transform.executeImpl(temp_block, transform_args, result);
fun_transform.execute(temp_block, transform_args, result);
/// Put the result into the original block.
block.getByPosition(result).column = std::move(temp_block.getByPosition(result).column);

View File

@ -1917,682 +1917,7 @@ DROP TABLE IF EXISTS test.multi_if_check;
CREATE TABLE test.multi_if_check(col1 UInt64) ENGINE=TinyLog;
INSERT INTO test.multi_if_check(col1) SELECT toUInt64((number * 37 + 13) % 3) AS col1 FROM system.numbers LIMIT 10;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt64(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toInt64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toUInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat64(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt8(1) WHEN 1 THEN toFloat64(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt64(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toInt64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toUInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat64(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt16(1) WHEN 1 THEN toFloat64(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt64(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toInt64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toUInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat64(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt32(1) WHEN 1 THEN toFloat64(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt64(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toInt64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toInt64(1) WHEN 1 THEN toUInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt64(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toInt64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt8(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt16(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt32(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toUInt64(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat64(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt8(1) WHEN 1 THEN toFloat64(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt64(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toInt64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt8(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt16(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt32(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toUInt64(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat64(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt16(1) WHEN 1 THEN toFloat64(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt64(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toInt64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt8(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt8(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt16(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt16(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt32(2) ELSE toInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt32(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toUInt64(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat64(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt32(1) WHEN 1 THEN toFloat64(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt8(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt16(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt32(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toUInt64(1) WHEN 1 THEN toUInt64(2) ELSE toUInt64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toUInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat64(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat32(1) WHEN 1 THEN toFloat64(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt8(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt8(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt8(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt8(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt8(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt8(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt8(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt8(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt16(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt16(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt16(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt16(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt16(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt16(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt16(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt16(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toUInt32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat32(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat32(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat32(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat32(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat32(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat32(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat32(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat32(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat64(2) ELSE toInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat64(2) ELSE toInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat64(2) ELSE toInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat64(2) ELSE toUInt8(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat64(2) ELSE toUInt16(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat64(2) ELSE toUInt32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat64(2) ELSE toFloat32(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN toFloat64(1) WHEN 1 THEN toFloat64(2) ELSE toFloat64(3) END FROM test.multi_if_check;
SELECT CASE col1 WHEN 0 THEN 1 WHEN 1 THEN 2 ELSE 3 END FROM test.multi_if_check;
/* CASE expression. String clauses. */