File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import org.apache.spark.sql.types._
27
27
28
28
/**
29
29
* A trivial [[Analyzer ]] with an [[EmptyCatalog ]] and [[EmptyFunctionRegistry ]]. Used for testing
30
- * when all relations are already filled in and the analyser needs only to resolve attribute
30
+ * when all relations are already filled in and the analyzer needs only to resolve attribute
31
31
* references.
32
32
*/
33
33
object SimpleAnalyzer extends Analyzer (EmptyCatalog , EmptyFunctionRegistry , true )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import scala.collection.mutable
22
22
import org .apache .spark .sql .catalyst .plans .logical .{LogicalPlan , Subquery }
23
23
24
24
/**
25
- * Thrown by a catalog when a table cannot be found. The analzyer will rethrow the exception
25
+ * Thrown by a catalog when a table cannot be found. The analyzer will rethrow the exception
26
26
* as an AnalysisException with the correct position information.
27
27
*/
28
28
class NoSuchTableException extends Exception
@@ -201,7 +201,7 @@ trait OverrideCatalog extends Catalog {
201
201
202
202
/**
203
203
* A trivial catalog that returns an error when a relation is requested. Used for testing when all
204
- * relations are already filled in and the analyser needs only to resolve attribute references.
204
+ * relations are already filled in and the analyzer needs only to resolve attribute references.
205
205
*/
206
206
object EmptyCatalog extends Catalog {
207
207
Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ class SimpleFunctionRegistry(val caseSensitive: Boolean) extends FunctionRegistr
57
57
}
58
58
59
59
/**
60
- * A trivial catalog that returns an error when a function is requested. Used for testing when all
61
- * functions are already filled in and the analyser needs only to resolve attribute references.
60
+ * A trivial catalog that returns an error when a function is requested. Used for testing when all
61
+ * functions are already filled in and the analyzer needs only to resolve attribute references.
62
62
*/
63
63
object EmptyFunctionRegistry extends FunctionRegistry {
64
64
override def registerFunction (name : String , builder : FunctionBuilder ): Unit = {
You can’t perform that action at this time.
0 commit comments