Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2017 02:15 AM
In python, we can solve it like:
And in java, we can use:
public Dataset<Row> join(Dataset<?> right,
scala.collection.Seq<String> usingColumns,
String joinType)
more in http://spark.apache.org/docs/2.1.0/api/java/index.html
According to question:
http://stackoverflow.com/questions/35988315/convert-java-list-to-scala-seq
the usingColumns parameter can be defined as ArrayList.