On 5/11/20 2:48 pm, 杨仲鲍 wrote:
Code
```scala
object Suit{ case class Data(node:String,root:String) def apply[A](xs:A
*):List[A] = xs.toList
def main(args: Array[String]): Unit ={ val spark = SparkSession.builder()
.master("local") .appName("MoneyBackTest") .getOrCreate() import
spark.imp
Code
```scala
object Suit {
case class Data(node:String,root:String)
def apply[A](xs:A *):List[A] = xs.toList
def main(args: Array[String]): Unit = {
val spark = SparkSession.builder()
.master("local")
.appName("MoneyBackTest")
.getOrCreate()
import spark.implicit