Skip to content

Commit 4226eb9

Browse files
Comment.
1 parent 79d26fc commit 4226eb9

File tree

1 file changed

+2
-2
lines changed
  • sql/hive/src/main/scala/org/apache/spark/sql/hive

1 file changed

+2
-2
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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))

0 commit comments

Comments
 (0)