public class QueryCompilationErrors
extends Object
Constructor and Description |
---|
QueryCompilationErrors() |
Modifier and Type | Method and Description |
---|---|
static Throwable |
addStaticValToUnknownColError(String staticName) |
static Throwable |
dataTypeMismatchForDeserializerError(DataType dataType,
String desiredType) |
static Throwable |
fieldNumberMismatchForDeserializerError(StructType schema,
int maxOrdinal) |
static Throwable |
generatorOutsideSelectError(org.apache.spark.sql.catalyst.plans.logical.LogicalPlan plan) |
static Throwable |
groupingColInvalidError(org.apache.spark.sql.catalyst.expressions.Expression groupingCol,
scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> groupByExprs) |
static Throwable |
groupingIDMismatchError(org.apache.spark.sql.catalyst.expressions.GroupingID groupingID,
scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> groupByExprs) |
static Throwable |
groupingSizeTooLargeError(int sizeLimit) |
static Throwable |
legacyStoreAssignmentPolicyError() |
static Throwable |
moreThanOneGeneratorError(scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> generators,
String clause) |
static Throwable |
nestedGeneratorError(org.apache.spark.sql.catalyst.expressions.Expression trimmedNestedGenerator) |
static Throwable |
nonLiteralPivotValError(org.apache.spark.sql.catalyst.expressions.Expression pivotVal) |
static Throwable |
nonPartitionColError(String partitionName) |
static Throwable |
outerScopeFailureForNewInstanceError(String className) |
static Throwable |
pivotValDataTypeMismatchError(org.apache.spark.sql.catalyst.expressions.Expression pivotVal,
org.apache.spark.sql.catalyst.expressions.Expression pivotCol) |
static Throwable |
referenceColNotFoundForAlterTableChangesError(TableChange.After after,
String parentName) |
static Throwable |
unknownStaticPartitionColError(String name) |
static Throwable |
unorderablePivotColError(org.apache.spark.sql.catalyst.expressions.Expression pivotCol) |
static Throwable |
unresolvedUsingColForJoinError(String colName,
org.apache.spark.sql.catalyst.plans.logical.LogicalPlan plan,
String side) |
static Throwable |
unsupportedAbstractDataTypeForUpCastError(org.apache.spark.sql.types.AbstractDataType gotType) |
static Throwable |
unsupportedIfNotExistsError(String tableName) |
static Throwable |
upCastFailureError(String fromStr,
org.apache.spark.sql.catalyst.expressions.Expression from,
DataType to,
scala.collection.Seq<String> walkedTypePath) |
public static Throwable groupingIDMismatchError(org.apache.spark.sql.catalyst.expressions.GroupingID groupingID, scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> groupByExprs)
public static Throwable groupingColInvalidError(org.apache.spark.sql.catalyst.expressions.Expression groupingCol, scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> groupByExprs)
public static Throwable groupingSizeTooLargeError(int sizeLimit)
public static Throwable unorderablePivotColError(org.apache.spark.sql.catalyst.expressions.Expression pivotCol)
public static Throwable nonLiteralPivotValError(org.apache.spark.sql.catalyst.expressions.Expression pivotVal)
public static Throwable pivotValDataTypeMismatchError(org.apache.spark.sql.catalyst.expressions.Expression pivotVal, org.apache.spark.sql.catalyst.expressions.Expression pivotCol)
public static Throwable unsupportedIfNotExistsError(String tableName)
public static Throwable nonPartitionColError(String partitionName)
public static Throwable addStaticValToUnknownColError(String staticName)
public static Throwable unknownStaticPartitionColError(String name)
public static Throwable nestedGeneratorError(org.apache.spark.sql.catalyst.expressions.Expression trimmedNestedGenerator)
public static Throwable moreThanOneGeneratorError(scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> generators, String clause)
public static Throwable generatorOutsideSelectError(org.apache.spark.sql.catalyst.plans.logical.LogicalPlan plan)
public static Throwable legacyStoreAssignmentPolicyError()
public static Throwable unresolvedUsingColForJoinError(String colName, org.apache.spark.sql.catalyst.plans.logical.LogicalPlan plan, String side)
public static Throwable dataTypeMismatchForDeserializerError(DataType dataType, String desiredType)
public static Throwable fieldNumberMismatchForDeserializerError(StructType schema, int maxOrdinal)
public static Throwable upCastFailureError(String fromStr, org.apache.spark.sql.catalyst.expressions.Expression from, DataType to, scala.collection.Seq<String> walkedTypePath)
public static Throwable unsupportedAbstractDataTypeForUpCastError(org.apache.spark.sql.types.AbstractDataType gotType)
public static Throwable outerScopeFailureForNewInstanceError(String className)
public static Throwable referenceColNotFoundForAlterTableChangesError(TableChange.After after, String parentName)