@@ -223,7 +223,7 @@ class PushFoldableIntoBranchesSuite
223223 assertEquivalent(EqualTo (Literal (4 ), caseWhen), FalseLiteral )
224224 }
225225
226- test(" Push down cast through If/CaseWhen" ) {
226+ test(" SPARK-33848: Push down cast through If/CaseWhen" ) {
227227 assertEquivalent(If (a, Literal (2 ), Literal (3 )).cast(StringType ),
228228 If (a, Literal (" 2" ), Literal (" 3" )))
229229 assertEquivalent(If (a, b, Literal (3 )).cast(StringType ),
@@ -242,14 +242,14 @@ class PushFoldableIntoBranchesSuite
242242 CaseWhen (Seq ((a, b)), Some (b + 1 )).cast(StringType ))
243243 }
244244
245- test(" Push down abs through If/CaseWhen" ) {
245+ test(" SPARK-33848: Push down abs through If/CaseWhen" ) {
246246 assertEquivalent(Abs (If (a, Literal (- 2 ), Literal (- 3 ))), If (a, Literal (2 ), Literal (3 )))
247247 assertEquivalent(
248248 Abs (CaseWhen (Seq ((a, Literal (- 1 ))), Some (Literal (- 3 )))),
249249 CaseWhen (Seq ((a, Literal (1 ))), Some (Literal (3 ))))
250250 }
251251
252- test(" Push down cast with binary expression through If/CaseWhen" ) {
252+ test(" SPARK-33848: Push down cast with binary expression through If/CaseWhen" ) {
253253 assertEquivalent(EqualTo (If (a, Literal (2 ), Literal (3 )).cast(StringType ), Literal (" 4" )),
254254 FalseLiteral )
255255 assertEquivalent(
0 commit comments