Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/7799#discussion_r35971539
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/InternalRow.scala ---
    @@ -19,71 +19,25 @@ package org.apache.spark.sql.catalyst
     
     import org.apache.spark.sql.Row
     import org.apache.spark.sql.catalyst.expressions._
    -import org.apache.spark.sql.types._
    -import org.apache.spark.unsafe.types.{CalendarInterval, UTF8String}
     
     /**
      * An abstract class for row used internal in Spark SQL, which only 
contain the columns as
      * internal types.
      */
    -abstract class InternalRow extends Serializable with SpecializedGetters {
    +// todo: make InternalRow just extends SpecializedGetters, remove generic 
getter
    +abstract class InternalRow extends GenericSpecializedGetters with 
Serializable {
    --- End diff --
    
    I'm wondering can we really remove the generic getter? We need to support 
user defined types at least in safe mode, so I'm afraid the internal row 
interface must provide generic getter.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to