File tree Expand file tree Collapse file tree
src/main/scala/io/substrait/spark/logical Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,9 @@ java {
102102 withSourcesJar()
103103}
104104
105- tasks.withType<ScalaCompile >() { scalaCompileOptions.additionalParameters = listOf (" -release:17" ) }
105+ tasks.withType<ScalaCompile >() {
106+ scalaCompileOptions.additionalParameters = listOf (" -release:17" , " -Xfatal-warnings" )
107+ }
106108
107109var SPARKBUNDLE_VERSION = properties.get(" sparkbundle.version" )
108110
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ import io.substrait.relation.files.FileFormat
5050import io .substrait .util .EmptyVisitationContext
5151import org .apache .hadoop .fs .Path
5252
53+ import scala .annotation .nowarn
5354import scala .collection .JavaConverters .asScalaBufferConverter
5455import scala .collection .mutable .ArrayBuffer
5556
@@ -180,6 +181,7 @@ class ToLogicalPlan(spark: SparkSession = SparkSession.builder().getOrCreate())
180181 }
181182 }
182183
184+ @ nowarn(" cat=deprecation" )
183185 override def visit (join : relation.Join , context : EmptyVisitationContext ): LogicalPlan = {
184186 val left = join.getLeft.accept(this , context)
185187 val right = join.getRight.accept(this , context)
You can’t perform that action at this time.
0 commit comments