Class SqlScriptingErrors

Object
org.apache.spark.sql.errors.SqlScriptingErrors

public class SqlScriptingErrors extends Object
Object for grouping error messages thrown during parsing/interpreting phase of the SQL Scripting Language interpreter.
  • Constructor Details

    • SqlScriptingErrors

      public SqlScriptingErrors()
  • Method Details

    • labelsMismatch

      public static Throwable labelsMismatch(org.apache.spark.sql.catalyst.trees.Origin origin, String beginLabel, String endLabel)
    • endLabelWithoutBeginLabel

      public static Throwable endLabelWithoutBeginLabel(org.apache.spark.sql.catalyst.trees.Origin origin, String endLabel)
    • variableDeclarationNotAllowedInScope

      public static Throwable variableDeclarationNotAllowedInScope(org.apache.spark.sql.catalyst.trees.Origin origin, scala.collection.immutable.Seq<String> varName)
    • variableDeclarationOnlyAtBeginning

      public static Throwable variableDeclarationOnlyAtBeginning(org.apache.spark.sql.catalyst.trees.Origin origin, scala.collection.immutable.Seq<String> varName)
    • invalidBooleanStatement

      public static Throwable invalidBooleanStatement(org.apache.spark.sql.catalyst.trees.Origin origin, String stmt)
    • booleanStatementWithEmptyRow

      public static Throwable booleanStatementWithEmptyRow(org.apache.spark.sql.catalyst.trees.Origin origin, String stmt)
    • labelDoesNotExist

      public static Throwable labelDoesNotExist(org.apache.spark.sql.catalyst.trees.Origin origin, String labelName, String statementType)
    • invalidIterateLabelUsageForCompound

      public static Throwable invalidIterateLabelUsageForCompound(org.apache.spark.sql.catalyst.trees.Origin origin, String labelName)