Skip to content

Commit 39929d9

Browse files
committed
add todo
1 parent 0808fd2 commit 39929d9

File tree

1 file changed

+2
-0
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions

1 file changed

+2
-0
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Expression.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ abstract class Expression extends TreeNode[Expression] {
9090
/**
9191
* Check the input data types, returns `TypeCheckResult.success` if it's valid,
9292
* or return a `TypeCheckResult` with an error message if invalid.
93+
* TODO: we should remove the default implementation and implement it for all
94+
* expressions with proper error message.
9395
*/
9496
def checkInputDataTypes(): TypeCheckResult = TypeCheckResult.success
9597
}

0 commit comments

Comments
 (0)