Use asScala to convert java List to Scala Sequence
This commit is contained in:
parent
4853c19b5e
commit
7152d47f84
|
@ -78,10 +78,10 @@ case class SparkModel(conf: DedupConfig) {
|
|||
uv
|
||||
|
||||
case Type.List | Type.JSON =>
|
||||
Seq(MapDocumentUtil.truncateList(
|
||||
MapDocumentUtil.truncateList(
|
||||
MapDocumentUtil.getJPathList(fdef.getPath, documentContext, fdef.getType),
|
||||
fdef.getSize
|
||||
))
|
||||
).asScala
|
||||
|
||||
case Type.StringConcat =>
|
||||
val jpaths = CONCAT_REGEX.split(fdef.getPath)
|
||||
|
|
Loading…
Reference in New Issue