AnalysisException

org.apache.spark.sql.AnalysisException
class AnalysisException(message: String, cause: Throwable, errorClass: Option[String]) extends SparkException

Thrown when a query fails to analyze on the server: an unknown table or column, a type mismatch, an ambiguous reference, and similar. Mirrors org.apache.spark.sql.AnalysisException.

Attributes

Graph
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Constructors

def this(message: String)
def this(message: String, cause: Throwable)

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def getCause(): Throwable

Attributes

Inherited from:
Throwable
def getErrorClass: String

The Spark error class (e.g. TABLE_OR_VIEW_NOT_FOUND), if the server provided one.

The Spark error class (e.g. TABLE_OR_VIEW_NOT_FOUND), if the server provided one.

Attributes

Inherited from:
SparkException
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
def getMessage(): String

Attributes

Inherited from:
Throwable
def getStackTrace(): Array[StackTraceElement]

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintWriter): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintStream): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(): Unit

Attributes

Inherited from:
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable