Skip to content

Commit

Permalink
Minor comments update.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Jan 13, 2023
1 parent 508f1f2 commit 3289103
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public enum ExprCoreType implements ExprType {

/**
* Date.
* Todo. compatible relationship.
*/
DATE(STRING),
TIME(STRING),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ private static DefaultFunctionResolver castToTime() {
);
}

// `DATE`/`TIME`/`DATETIME` -> `DATETIME`/TIMESTAMP` cast tested in BinaryPredicateOperatorTest
private static DefaultFunctionResolver castToTimestamp() {
return FunctionDSL.define(BuiltinFunctionName.CAST_TO_TIMESTAMP.getName(),
impl(nullMissingHandling(
Expand Down

0 comments on commit 3289103

Please sign in to comment.