Class AnalysisException

Object
Throwable
Exception
org.apache.spark.sql.AnalysisException
All Implemented Interfaces:
Serializable, SparkThrowable, org.apache.spark.sql.catalyst.trees.WithOrigin, scala.Serializable

public class AnalysisException extends Exception implements SparkThrowable, scala.Serializable, org.apache.spark.sql.catalyst.trees.WithOrigin
Thrown when a query fails to analyze, usually because the query itself is invalid.

Since:
1.3.0
See Also:
  • Constructor Details

    • AnalysisException

      public AnalysisException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters, scala.Option<Throwable> cause)
    • AnalysisException

      public AnalysisException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters, QueryContext[] context, String summary)
    • AnalysisException

      public AnalysisException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters)
    • AnalysisException

      public AnalysisException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters, org.apache.spark.sql.catalyst.trees.Origin origin)
    • AnalysisException

      public AnalysisException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters, org.apache.spark.sql.catalyst.trees.Origin origin, scala.Option<Throwable> cause)
  • Method Details