Skip to content

Commit

Permalink
[CALCITE-6714] Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-plekhanov committed Dec 4, 2024
1 parent fd0ae80 commit 5dd6328
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,10 @@ void testCastToInterval(CastType castType, SqlOperatorFixture f) {
"cast(cast(1 as integer) as interval minute)",
"+1",
"INTERVAL MINUTE NOT NULL");
f.checkScalar(
"cast(cast(1 as decimal) as interval minute)",
"+1",
"INTERVAL MINUTE NOT NULL");
}

@ParameterizedTest
Expand Down

0 comments on commit 5dd6328

Please sign in to comment.