Skip to content
Snippets Groups Projects
Commit 4bb2b369 authored by Alexander Slesarenko's avatar Alexander Slesarenko Committed by Reynold Xin
Browse files

[SQL][DOC] Minor document fixes in interfaces.scala

rxin just noticed this while reading the code.

Author: Alexander Slesarenko <avslesarenko@gmail.com>

Closes #9284 from aslesarenko/doc-typos.
parent b60aab8a
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ import org.apache.spark.util.SerializableConfiguration ...@@ -43,7 +43,7 @@ import org.apache.spark.util.SerializableConfiguration
* This allows users to give the data source alias as the format type over the fully qualified * This allows users to give the data source alias as the format type over the fully qualified
* class name. * class name.
* *
* A new instance of this class with be instantiated each time a DDL call is made. * A new instance of this class will be instantiated each time a DDL call is made.
* *
* @since 1.5.0 * @since 1.5.0
*/ */
...@@ -74,7 +74,7 @@ trait DataSourceRegister { ...@@ -74,7 +74,7 @@ trait DataSourceRegister {
* less verbose invocation. For example, 'org.apache.spark.sql.json' would resolve to the * less verbose invocation. For example, 'org.apache.spark.sql.json' would resolve to the
* data source 'org.apache.spark.sql.json.DefaultSource' * data source 'org.apache.spark.sql.json.DefaultSource'
* *
* A new instance of this class with be instantiated each time a DDL call is made. * A new instance of this class will be instantiated each time a DDL call is made.
* *
* @since 1.3.0 * @since 1.3.0
*/ */
...@@ -100,7 +100,7 @@ trait RelationProvider { ...@@ -100,7 +100,7 @@ trait RelationProvider {
* less verbose invocation. For example, 'org.apache.spark.sql.json' would resolve to the * less verbose invocation. For example, 'org.apache.spark.sql.json' would resolve to the
* data source 'org.apache.spark.sql.json.DefaultSource' * data source 'org.apache.spark.sql.json.DefaultSource'
* *
* A new instance of this class with be instantiated each time a DDL call is made. * A new instance of this class will be instantiated each time a DDL call is made.
* *
* The difference between a [[RelationProvider]] and a [[SchemaRelationProvider]] is that * The difference between a [[RelationProvider]] and a [[SchemaRelationProvider]] is that
* users need to provide a schema when using a [[SchemaRelationProvider]]. * users need to provide a schema when using a [[SchemaRelationProvider]].
...@@ -135,7 +135,7 @@ trait SchemaRelationProvider { ...@@ -135,7 +135,7 @@ trait SchemaRelationProvider {
* less verbose invocation. For example, 'org.apache.spark.sql.json' would resolve to the * less verbose invocation. For example, 'org.apache.spark.sql.json' would resolve to the
* data source 'org.apache.spark.sql.json.DefaultSource' * data source 'org.apache.spark.sql.json.DefaultSource'
* *
* A new instance of this class with be instantiated each time a DDL call is made. * A new instance of this class will be instantiated each time a DDL call is made.
* *
* The difference between a [[RelationProvider]] and a [[HadoopFsRelationProvider]] is * The difference between a [[RelationProvider]] and a [[HadoopFsRelationProvider]] is
* that users need to provide a schema and a (possibly empty) list of partition columns when * that users need to provide a schema and a (possibly empty) list of partition columns when
...@@ -195,7 +195,7 @@ trait CreatableRelationProvider { ...@@ -195,7 +195,7 @@ trait CreatableRelationProvider {
* implementation should inherit from one of the descendant `Scan` classes, which define various * implementation should inherit from one of the descendant `Scan` classes, which define various
* abstract methods for execution. * abstract methods for execution.
* *
* BaseRelations must also define a equality function that only returns true when the two * BaseRelations must also define an equality function that only returns true when the two
* instances will return the same data. This equality function is used when determining when * instances will return the same data. This equality function is used when determining when
* it is safe to substitute cached results for a given relation. * it is safe to substitute cached results for a given relation.
* *
...@@ -208,7 +208,7 @@ abstract class BaseRelation { ...@@ -208,7 +208,7 @@ abstract class BaseRelation {
/** /**
* Returns an estimated size of this relation in bytes. This information is used by the planner * Returns an estimated size of this relation in bytes. This information is used by the planner
* to decided when it is safe to broadcast a relation and can be overridden by sources that * to decide when it is safe to broadcast a relation and can be overridden by sources that
* know the size ahead of time. By default, the system will assume that tables are too * know the size ahead of time. By default, the system will assume that tables are too
* large to broadcast. This method will be called multiple times during query planning * large to broadcast. This method will be called multiple times during query planning
* and thus should not perform expensive operations for each invocation. * and thus should not perform expensive operations for each invocation.
...@@ -383,7 +383,7 @@ abstract class OutputWriter { ...@@ -383,7 +383,7 @@ abstract class OutputWriter {
/** /**
* ::Experimental:: * ::Experimental::
* A [[BaseRelation]] that provides much of the common code required for formats that store their * A [[BaseRelation]] that provides much of the common code required for relations that store their
* data to an HDFS compatible filesystem. * data to an HDFS compatible filesystem.
* *
* For the read path, similar to [[PrunedFilteredScan]], it can eliminate unneeded columns and * For the read path, similar to [[PrunedFilteredScan]], it can eliminate unneeded columns and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment