HBASE-14991 Fix the '-feature' warning in scala build (Zhan Zhang)
This commit is contained in:
parent
80fc18d2e1
commit
bbfff0d072
|
@ -537,6 +537,9 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<charset>${project.build.sourceEncoding}</charset>
|
<charset>${project.build.sourceEncoding}</charset>
|
||||||
<scalaVersion>${scala.version}</scalaVersion>
|
<scalaVersion>${scala.version}</scalaVersion>
|
||||||
|
<args>
|
||||||
|
<arg>-feature</arg>
|
||||||
|
</args>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.apache.hadoop.hbase.spark.datasources
|
||||||
import org.apache.hadoop.hbase.TableName
|
import org.apache.hadoop.hbase.TableName
|
||||||
import org.apache.hadoop.hbase.client._
|
import org.apache.hadoop.hbase.client._
|
||||||
import org.apache.hadoop.hbase.spark.HBaseRelation
|
import org.apache.hadoop.hbase.spark.HBaseRelation
|
||||||
|
import scala.language.implicitConversions
|
||||||
|
|
||||||
// Resource and ReferencedResources are defined for extensibility,
|
// Resource and ReferencedResources are defined for extensibility,
|
||||||
// e.g., consolidate scan and bulkGet in the future work.
|
// e.g., consolidate scan and bulkGet in the future work.
|
||||||
|
|
Loading…
Reference in New Issue