Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/22646#discussion_r223214350
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala ---
@@ -1098,12 +1099,19 @@ object SQLContext {
data: Iterator[_],
beanClass: Class[_],
attrs: Seq[AttributeReference]): Iterator[InternalRow] = {
+ import scala.collection.JavaConverters._
+ import java.lang.reflect.{Type, ParameterizedType, Array => JavaArray}
--- End diff --
It seems rarely to see import like this in Spark codebase.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]