Skip to content

Commit b201cd4

Browse files
committed
Removed if.
1 parent 6b21a9b commit b201cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ object FunctionRegistry {
8989
expression[CreateArray]("array"),
9090
expression[Coalesce]("coalesce"),
9191
expression[Explode]("explode"),
92-
expression[If]("if"),
92+
//expression[If]("if"), TODO: turn this on after adding rules to auto cast types.
9393
expression[IsNull]("isnull"),
9494
expression[IsNotNull]("isnotnull"),
9595
expression[Coalesce]("nvl"),

0 commit comments

Comments
 (0)