티스토리 뷰

공부

[Scala] SparkSession.conf(String, Any)

승가비 2022. 8. 13. 02:06
728x90

https://stackoverflow.com/questions/26546299/result-type-of-an-implicit-conversion-must-be-more-specific-than-anyref/26549898#26549898

 

Result type of an implicit conversion must be more specific than AnyRef

Let def h(a: AnyRef*) = a.mkString(",") h: (a: AnyRef*)String and so h("1","2") res: String = 1,2 However, h(1,2) error: the result type of an implicit conversion must be more specific than An...

stackoverflow.com

https://github.com/apache/spark/pull/37478

 

[SPARK][SQL] feat: conf(String, Any) by seunggabi · Pull Request #37478 · apache/spark

What changes were proposed in this pull request? as-is private fun config(builder: SparkSession.Builder): SparkSession.Builder { val map = YamlUtils.read(this::class.java, "spark", Ex...

github.com

 

728x90
댓글