Github user tedyu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/7405#discussion_r34623959
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/AbstractScalaRowIterator.scala 
---
    @@ -17,11 +17,14 @@
     
     package org.apache.spark.sql
     
    -import org.apache.spark.sql.catalyst.InternalRow
    -
     /**
      * Shim to allow us to implement [[scala.Iterator]] in Java. Scala 2.11+ 
has an AbstractIterator
      * class for this, but that class is `private[scala]` in 2.10. We need to 
explicitly fix this to
    - * `Row` in order to work around a spurious IntelliJ compiler error.
    + * `Row` in order to work around a spurious IntelliJ compiler error. This 
cannot be an abstract
    + * class because that leads to compilation errors under Scala 2.11.
      */
    -private[spark] abstract class AbstractScalaRowIterator extends 
Iterator[InternalRow]
    +private[spark] class AbstractScalaRowIterator[T] extends Iterator[T] {
    --- End diff --
    
    The 'Abstract' should be dropped from the class name, right ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to