Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pan3793 committed Oct 8, 2023
1 parent 8b36439 commit c18f450
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package org.apache.zeppelin.spark;

import org.apache.commons.lang3.StringUtils;
import org.apache.zeppelin.display.AngularObjectRegistry;
import org.apache.zeppelin.display.ui.CheckBox;
import org.apache.zeppelin.display.ui.Password;
Expand Down Expand Up @@ -236,7 +237,8 @@ void testSparkInterpreter() throws IOException, InterruptedException, Interprete
"val df = spark.createDataFrame(Seq((1,\"a\"),(2, null)))\n" +
"df.show()", getInterpreterContext());
assertEquals(InterpreterResult.Code.SUCCESS, result.code());
assertTrue(output.contains(
// SPARK-43063 changed the output of null to NULL
assertTrue(StringUtils.containsIgnoreCase(output,
"+---+----+\n" +
"| _1| _2|\n" +
"+---+----+\n" +
Expand Down

0 comments on commit c18f450

Please sign in to comment.