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

    https://github.com/apache/spark/pull/11572#discussion_r55340181
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSource.scala
 ---
    @@ -34,14 +34,39 @@ import org.apache.spark.sql.sources._
     import org.apache.spark.sql.types.{CalendarIntervalType, StructType}
     import org.apache.spark.util.Utils
     
    -case class ResolvedDataSource(provider: Class[_], relation: BaseRelation)
    -
     /**
    - * Responsible for taking a description of a datasource (either from
    - * [[org.apache.spark.sql.DataFrameReader]], or a metastore) and 
converting it into a logical
    - * relation that can be used in a query plan.
    + * The main class responsible for representing a pluggable Data Source in 
Spark SQL. In addition to
    + * acting as the canonical set of parameters that can describe a Data 
Source, this class is used to
    + * resolve a description to a concrete implementation that can be used in 
a query plan
    + * (either batch or streaming) or to write out out data using an external 
library.
    --- End diff --
    
    nit: `write out ...`


---
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