using scala 2.11 converters
This commit is contained in:
parent
940735921f
commit
e6ca382deb
|
@ -98,7 +98,9 @@ public class SparkCreateDedupRecord extends AbstractSparkAction {
|
||||||
.read()
|
.read()
|
||||||
.load(mergeRelPath)
|
.load(mergeRelPath)
|
||||||
.where("relClass == 'merges'")
|
.where("relClass == 'merges'")
|
||||||
.join(dedupIds, JavaConverters.asScalaBuffer(Arrays.asList("source", "target")).toSeq(), "left_semi")
|
.join(
|
||||||
|
dedupIds, JavaConverters.asScalaBufferConverter(Arrays.asList("source", "target")).asScala(),
|
||||||
|
"left_semi")
|
||||||
.write()
|
.write()
|
||||||
.mode(SaveMode.Overwrite)
|
.mode(SaveMode.Overwrite)
|
||||||
.option("compression", "gzip")
|
.option("compression", "gzip")
|
||||||
|
|
Loading…
Reference in New Issue