Class CircularDependencyException
Object
Throwable
Exception
org.apache.spark.sql.AnalysisException
org.apache.spark.sql.pipelines.graph.CircularDependencyException
- All Implemented Interfaces:
Serializable
,SparkThrowable
,org.apache.spark.sql.catalyst.trees.WithOrigin
,scala.Equals
,scala.Product
public class CircularDependencyException
extends AnalysisException
implements scala.Product, Serializable
Raised when there's a circular dependency in the current pipeline. That is, a downstream
table is referenced while creating a upstream table.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCircularDependencyException
(org.apache.spark.sql.catalyst.TableIdentifier downstreamTable, org.apache.spark.sql.catalyst.TableIdentifier upstreamDataset) -
Method Summary
Methods inherited from class org.apache.spark.sql.AnalysisException
cause, context, copy, errorClass, getCondition, getMessage, getMessageParameters, getQueryContext, getSimpleMessage, line, message, messageParameters, origin, startPosition, withPosition
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
Methods inherited from interface org.apache.spark.SparkThrowable
getErrorClass, getSqlState, isInternalError
-
Constructor Details
-
CircularDependencyException
public CircularDependencyException(org.apache.spark.sql.catalyst.TableIdentifier downstreamTable, org.apache.spark.sql.catalyst.TableIdentifier upstreamDataset)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2) -
toString
-
downstreamTable
public org.apache.spark.sql.catalyst.TableIdentifier downstreamTable() -
upstreamDataset
public org.apache.spark.sql.catalyst.TableIdentifier upstreamDataset()
-