Skip to content

Commit

Permalink
removed extra test
Browse files Browse the repository at this point in the history
Signed-off-by: Mitchell Gale <[email protected]>
  • Loading branch information
MitchellGale committed Aug 21, 2023
1 parent 00510d0 commit 633f88f
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,6 @@ private ExprValue cast(FunctionExpression castFunction) {
return new ExprTimeValue(expr.valueOf().timeValue());
}
})
.put(
BuiltinFunctionName.CAST_TO_DATETIME.getName(),
expr -> {
if (expr.type().equals(ExprCoreType.STRING)) {
return new ExprTimestampValue(expr.valueOf().stringValue());
} else {
return new ExprTimestampValue(expr.valueOf().timestampValue());
}
})
.put(
BuiltinFunctionName.CAST_TO_TIMESTAMP.getName(),
expr -> {
Expand Down

0 comments on commit 633f88f

Please sign in to comment.