Skip to content

Commit

Permalink
fix type in sql
Browse files Browse the repository at this point in the history
  • Loading branch information
gchen committed Apr 11, 2015
1 parent 3ceb810 commit 37e3da1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import org.apache.spark.sql.types._

/**
* A trivial [[Analyzer]] with an [[EmptyCatalog]] and [[EmptyFunctionRegistry]]. Used for testing
* when all relations are already filled in and the analyser needs only to resolve attribute
* when all relations are already filled in and the analyzer needs only to resolve attribute
* references.
*/
object SimpleAnalyzer extends Analyzer(EmptyCatalog, EmptyFunctionRegistry, true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import scala.collection.mutable
import org.apache.spark.sql.catalyst.plans.logical.{LogicalPlan, Subquery}

/**
* Thrown by a catalog when a table cannot be found. The analzyer will rethrow the exception
* Thrown by a catalog when a table cannot be found. The analyzer will rethrow the exception
* as an AnalysisException with the correct position information.
*/
class NoSuchTableException extends Exception
Expand Down Expand Up @@ -201,7 +201,7 @@ trait OverrideCatalog extends Catalog {

/**
* A trivial catalog that returns an error when a relation is requested. Used for testing when all
* relations are already filled in and the analyser needs only to resolve attribute references.
* relations are already filled in and the analyzer needs only to resolve attribute references.
*/
object EmptyCatalog extends Catalog {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class SimpleFunctionRegistry(val caseSensitive: Boolean) extends FunctionRegistr
}

/**
* A trivial catalog that returns an error when a function is requested. Used for testing when all
* functions are already filled in and the analyser needs only to resolve attribute references.
* A trivial catalog that returns an error when a function is requested. Used for testing when all
* functions are already filled in and the analyzer needs only to resolve attribute references.
*/
object EmptyFunctionRegistry extends FunctionRegistry {
override def registerFunction(name: String, builder: FunctionBuilder): Unit = {
Expand Down

0 comments on commit 37e3da1

Please sign in to comment.