Re: Confuse on Spark to_date function

2020-11-05 Thread Daniel Stojanov
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

Confuse on Spark to_date function

2020-11-04 Thread 杨仲鲍
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