Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
Signed-off-by: kaijian.ding <[email protected]>
  • Loading branch information
kaijianding committed Feb 26, 2025
1 parent 7ffb7b6 commit b45381c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ public void testReduceNonNumberCast() throws Exception {

sql = "select cast(cast(id_datetime as string) as date) from test_all_type;";
plan = getFragmentPlan(sql);
assertContains(plan, "CAST(CAST(8: id_datetime AS VARCHAR(65533)) AS DATE)");
assertContains(plan, "CAST(8: id_datetime AS DATE)");

sql = "select cast(cast(t1d as int) as boolean) from test_all_type;";
plan = getFragmentPlan(sql);
Expand Down

0 comments on commit b45381c

Please sign in to comment.