Skip to content

Commit

Permalink
Fix compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain Fourny committed Oct 28, 2024
1 parent 295bb11 commit 31bb3f7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/test/java/iq/UpdatesForRumbleBenchmark.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import org.rumbledb.config.RumbleRuntimeConfiguration;
import org.rumbledb.exceptions.ExceptionMetadata;
import org.rumbledb.runtime.functions.input.FileSystemUtil;
import scala.Function0;
import scala.util.Properties;
import sparksoniq.spark.SparkSessionManager;

Expand All @@ -28,7 +29,12 @@ public class UpdatesForRumbleBenchmark {
public static final String javaVersion =
System.getProperty("java.version");
public static final String scalaVersion =
Properties.scalaPropOrElse("version.number", "unknown");
Properties.scalaPropOrElse("version.number", new Function0<String>() {
@Override
public String apply() {
return "unknown";
}
});

public List<FileTuple> benchmarkFiles;

Expand Down

0 comments on commit 31bb3f7

Please sign in to comment.