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

    https://github.com/apache/spark/pull/20153#discussion_r161257419
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2ScanExec.scala
 ---
    @@ -37,40 +35,58 @@ import org.apache.spark.sql.types.StructType
      */
     case class DataSourceV2ScanExec(
         fullOutput: Seq[AttributeReference],
    -    @transient reader: DataSourceV2Reader) extends LeafExecNode with 
DataSourceReaderHolder {
    +    @transient reader: DataSourceV2Reader)
    +  extends LeafExecNode with DataSourceReaderHolder with ColumnarBatchScan {
     
       override def canEqual(other: Any): Boolean = 
other.isInstanceOf[DataSourceV2ScanExec]
     
    -  override def references: AttributeSet = AttributeSet.empty
    +  override def producedAttributes: AttributeSet = AttributeSet(fullOutput)
    --- End diff --
    
    +1


---

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

Reply via email to