Package org.apache.spark.sql.errors
Class SqlScriptingErrors
Object
org.apache.spark.sql.errors.SqlScriptingErrors
Object for grouping error messages thrown during parsing/interpreting phase
of the SQL Scripting Language interpreter.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Throwable
booleanStatementWithEmptyRow
(org.apache.spark.sql.catalyst.trees.Origin origin, String stmt) static Throwable
endLabelWithoutBeginLabel
(org.apache.spark.sql.catalyst.trees.Origin origin, String endLabel) static Throwable
invalidBooleanStatement
(org.apache.spark.sql.catalyst.trees.Origin origin, String stmt) static Throwable
invalidIterateLabelUsageForCompound
(org.apache.spark.sql.catalyst.trees.Origin origin, String labelName) static Throwable
labelDoesNotExist
(org.apache.spark.sql.catalyst.trees.Origin origin, String labelName, String statementType) static Throwable
labelsMismatch
(org.apache.spark.sql.catalyst.trees.Origin origin, String beginLabel, String endLabel) static Throwable
variableDeclarationNotAllowedInScope
(org.apache.spark.sql.catalyst.trees.Origin origin, scala.collection.immutable.Seq<String> varName) static Throwable
variableDeclarationOnlyAtBeginning
(org.apache.spark.sql.catalyst.trees.Origin origin, scala.collection.immutable.Seq<String> varName)
-
Constructor Details
-
SqlScriptingErrors
public SqlScriptingErrors()
-
-
Method Details
-
labelsMismatch
-
endLabelWithoutBeginLabel
-
variableDeclarationNotAllowedInScope
-
variableDeclarationOnlyAtBeginning
-
invalidBooleanStatement
-
booleanStatementWithEmptyRow
-
labelDoesNotExist
-
invalidIterateLabelUsageForCompound
-