Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/22646#discussion_r223168881 --- 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 -- Why add import here? Can we move it to top?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org