File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sql/hive/src/main/scala/org/apache/spark/sql/hive Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -925,8 +925,8 @@ private[hive] object HiveQl {
925925 case Token (" TOK_FUNCTION" , Token (CASE (), Nil ) :: branches) =>
926926 val transformed = branches.drop(1 ).sliding(2 , 2 ).map {
927927 case Seq (condVal, value) =>
928- // FIXME: the key will get evaluated for multiple times in CaseWhen's eval(). Hence
929- // effectful / non-deterministic key expressions are *not* supported at the moment.
928+ // FIXME (SPARK-2155) : the key will get evaluated for multiple times in CaseWhen's eval().
929+ // Hence effectful / non-deterministic key expressions are *not* supported at the moment.
930930 // We should consider adding new Expressions to get around this.
931931 Seq (Equals (nodeToExpr(branches(0 )), nodeToExpr(condVal)),
932932 nodeToExpr(value))
You can’t perform that action at this time.
0 commit comments