From 46b2c3e8b9da7e21476e22cfb7ba1e07b6fe0337 Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Thu, 10 Oct 2024 12:20:00 -0700 Subject: [PATCH] Update test case. --- .../union_removed_branch_union_nulls.iq | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/sql/src/test/quidem/org.apache.druid.quidem.SqlQuidemTest/union_removed_branch_union_nulls.iq b/sql/src/test/quidem/org.apache.druid.quidem.SqlQuidemTest/union_removed_branch_union_nulls.iq index 0711686e9bac..e2c5f9ffbe93 100644 --- a/sql/src/test/quidem/org.apache.druid.quidem.SqlQuidemTest/union_removed_branch_union_nulls.iq +++ b/sql/src/test/quidem/org.apache.druid.quidem.SqlQuidemTest/union_removed_branch_union_nulls.iq @@ -37,6 +37,7 @@ DruidProject(EXPR$0=[CAST($0):BIGINT], channel=[CAST($1):VARCHAR], druid=[logica "dataSource" : { "type" : "inline", "columnNames" : [ "EXPR$0", "EXPR$1" ], + "columnTypes" : [ "STRING", "STRING" ], "rows" : [ [ null, null ] ] }, "intervals" : { @@ -46,17 +47,12 @@ DruidProject(EXPR$0=[CAST($0):BIGINT], channel=[CAST($1):VARCHAR], druid=[logica "virtualColumns" : [ { "type" : "expression", "name" : "v0", - "expression" : "null", + "expression" : "CAST(\"EXPR$0\", 'LONG')", "outputType" : "LONG" - }, { - "type" : "expression", - "name" : "v1", - "expression" : "null", - "outputType" : "STRING" } ], "resultFormat" : "compactedList", - "columns" : [ "v0", "v1" ], - "columnTypes" : [ "LONG", "STRING" ], + "columns" : [ "EXPR$1", "v0" ], + "columnTypes" : [ "STRING", "LONG" ], "granularity" : { "type" : "all" },