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

    https://github.com/apache/spark/pull/20647#discussion_r170989638
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2ScanExec.scala
 ---
    @@ -36,10 +37,22 @@ import org.apache.spark.sql.types.StructType
      */
     case class DataSourceV2ScanExec(
         output: Seq[AttributeReference],
    +    @transient source: DataSourceV2,
    +    @transient options: Map[String, String],
         @transient reader: DataSourceReader)
    -  extends LeafExecNode with DataSourceReaderHolder with ColumnarBatchScan {
    +  extends LeafExecNode with DataSourceV2StringFormat with 
ColumnarBatchScan {
     
    -  override def canEqual(other: Any): Boolean = 
other.isInstanceOf[DataSourceV2ScanExec]
    +  override def simpleString: String = "ScanV2 " + metadataString
    +
    +  override def equals(other: Any): Boolean = other match {
    +    case other: StreamingDataSourceV2Relation =>
    --- End diff --
    
    Should be `DataSourceV2ScanExec`.


---

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

Reply via email to