Max Gekk created SPARK-38689: -------------------------------- Summary: Use error classes in the compilation errors of not allowed DESC PARTITION Key: SPARK-38689 URL: https://issues.apache.org/jira/browse/SPARK-38689 Project: Spark Issue Type: Sub-task Components: SQL Affects Versions: 3.3.0 Reporter: Max Gekk
Migrate the following errors in QueryCompilationErrors: * unsupportedIfNotExistsError * nonPartitionColError * missingStaticPartitionColumn * alterV2TableSetLocationWithPartitionNotSupportedError * invalidPartitionSpecError * partitionNotSpecifyLocationUriError * describeDoesNotSupportPartitionForV2TablesError * tableDoesNotSupportPartitionManagementError * tableDoesNotSupportAtomicPartitionManagementError * alterTableRecoverPartitionsNotSupportedForV2TablesError * partitionColumnNotSpecifiedError * invalidPartitionColumnError * multiplePartitionColumnValuesSpecifiedError * cannotUseDataTypeForPartitionColumnError * cannotUseAllColumnsForPartitionColumnsError * partitionColumnNotFoundInSchemaError * mismatchedTablePartitionColumnError onto use error classes. Throw an implementation of SparkThrowable. Also write a test per every error in QueryCompilationErrorsSuite. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org