object DeltaErrors extends DocsPath with DeltaLogging
A holder object for Delta errors.
IMPORTANT: Any time you add a test that references the docs, add to the Seq defined in DeltaErrorsSuite so that the doc links that are generated can be verified to work in Azure, docs.databricks.com and docs.delta.io
- Alphabetic
- By Inheritance
- DeltaErrors
- DeltaLogging
- DatabricksLogging
- DeltaProgressReporter
- Logging
- DocsPath
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DeltaSourceIgnoreChangesErrorMessage: String
- val DeltaSourceIgnoreDeleteErrorMessage: String
- def aggsNotSupportedException(op: String, cond: Expression): Throwable
- def alterTableChangeColumnException(oldColumns: String, newColumns: String): Throwable
- def alterTableReplaceColumnsException(oldSchema: StructType, newSchema: StructType, reason: String): Throwable
- def alterTableSetLocationSchemaMismatchException(original: StructType, destination: StructType): Throwable
- def ambiguousPartitionColumnException(columnName: String, colMatches: Seq[StructField]): Throwable
- def analysisException(msg: String, line: Option[Int] = None, startPosition: Option[Int] = None, plan: Option[LogicalPlan] = None, cause: Option[Throwable] = None): AnalysisException
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
assertValidCallingFunction(): Unit
- Definition Classes
- DocsPath
- def baseDocsPath(spark: SparkSession): String
-
def
baseDocsPath(conf: SparkConf): String
The URL for the base path of Delta's docs.
The URL for the base path of Delta's docs. When changing this path, ensure that the new path works with the error messages below.
- Attributes
- protected
- Definition Classes
- DocsPath
- def bloomFilterCreateOnNonExistingColumnsException(unknownColumns: Seq[String]): Throwable
- def bloomFilterDropOnNonExistingColumnsException(unknownColumns: Seq[String]): Throwable
- def bloomFilterDropOnNonIndexedColumnException(name: String): Throwable
- def bloomFilterInvalidParameterValueException(message: String): Throwable
- def bloomFilterMultipleConfForSingleColumnException(name: String): Throwable
- def bloomFilterOnColumnTypeNotSupportedException(name: String, dataType: DataType): Throwable
- def bloomFilterOnNestedColumnNotSupportedException(name: String): Throwable
- def bloomFilterOnPartitionColumnNotSupportedException(name: String): Throwable
- def cannotInsertIntoColumn(tableName: String, source: String, target: String, targetType: String): Throwable
- def castPartitionValueException(partitionValue: String, dataType: DataType): Throwable
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def columnNotInSchemaException(column: String, schema: StructType): Throwable
- def commitAlreadyExistsException(version: Long, logPath: Path): Throwable
- def concurrentModificationExceptionMsg(sparkConf: SparkConf, baseMessage: String, commit: Option[CommitInfo]): String
- def convertMetastoreMetadataMismatchException(tableProperties: Map[String, String], deltaConfiguration: Map[String, String]): Throwable
- def convertNonParquetTablesException(ident: TableIdentifier, sourceName: String): Throwable
- def createExternalTableWithoutLogException(path: Path, tableName: String, spark: SparkSession): Throwable
- def createExternalTableWithoutSchemaException(path: Path, tableName: String, spark: SparkSession): Throwable
- def createManagedTableWithoutSchemaException(tableName: String, spark: SparkSession): Throwable
- def createTableWithDifferentPartitioningException(path: Path, specifiedColumns: Seq[String], existingColumns: Seq[String]): Throwable
- def createTableWithDifferentPropertiesException(path: Path, specifiedProperties: Map[String, String], existingProperties: Map[String, String]): Throwable
- def createTableWithDifferentSchemaException(path: Path, specifiedSchema: StructType, existingSchema: StructType, diffs: Seq[String]): Throwable
-
def
deltaFileNotFoundHint(faqPath: String, path: String): String
File not found hint for Delta, replacing the normal one which is inapplicable.
File not found hint for Delta, replacing the normal one which is inapplicable.
Note that we must pass in the docAddress as a string, because the config is not available on executors where this method is called.
- def deltaLogAlreadyExistsException(path: String): Throwable
- def deltaVersionsNotContiguousException(deltaVersions: Seq[Long]): Throwable
- def describeViewHistory: Throwable
- def emptyDataException: Throwable
- def emptyDirectoryException(directory: String): Throwable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
errorsWithDocsLinks: Seq[String]
List of error function names for all errors that have URLs.
List of error function names for all errors that have URLs. When adding your error to this list remember to also add it to the list of errors in DeltaErrorsSuite
- Definition Classes
- DocsPath
- Note
add your error to DeltaErrorsSuiteBase after adding it to this list so that the url can be tested
- val faqRelativePath: String
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatColumn(colName: String): String
- def formatColumnList(colNames: Seq[String]): String
- def formatSchema(schema: StructType): String
-
def
generateDocsLink(conf: SparkConf, relativePath: String, skipValidation: Boolean = false): String
Get the link to the docs for the given relativePath.
Get the link to the docs for the given relativePath. Validates that the error generating the link is added to docsLinks.
- relativePath
the relative path after the base url to access.
- skipValidation
whether to validate that the function generating the link is in the whitelist
- returns
The entire URL of the documentation link
- Definition Classes
- DocsPath
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ignoreStreamingUpdatesAndDeletesWarning(spark: SparkSession): String
- def illegalDeltaOptionException(name: String, input: String, explain: String): Throwable
- def illegalUsageException(option: String, operation: String): Throwable
- def inSubqueryNotSupportedException(operation: String): Throwable
- def incorrectLogStoreImplementationException(sparkConf: SparkConf, cause: Throwable): Throwable
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def invalidColumnName(name: String): Throwable
- def invalidPartitionColumn(e: AnalysisException): Throwable
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logConsole(line: String): Unit
- Definition Classes
- DatabricksLogging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logFileNotFoundException(path: Path, version: Long, metadata: Metadata): Throwable
- def logFileNotFoundExceptionForStreamingSource(e: FileNotFoundException): Throwable
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def missingPartFilesException(version: Long, ae: Exception): Throwable
- def missingProviderForConvertException(path: String): Throwable
- def missingTableIdentifierException(operationName: String): Throwable
- def modifyAppendOnlyTableException: Throwable
- def multiColumnInPredicateNotSupportedException(operation: String): Throwable
- def multipleLoadPathsException(paths: Seq[String]): Throwable
- def multipleSourceRowMatchingTargetRowInMergeException(spark: SparkSession): Throwable
- def multipleTimeTravelSyntaxUsed: Throwable
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nestedFieldNotSupported(operation: String, field: String): Throwable
- def nestedSubqueryNotSupportedException(operation: String): Throwable
- def noHistoryFound(logPath: Path): Throwable
- def noReproducibleHistoryFound(logPath: Path): Throwable
- def nonDeterministicNotSupportedException(op: String, cond: Expression): Throwable
- def nonPartitionColumnAbsentException(colsDropped: Boolean): Throwable
- def notADeltaSourceException(command: String, plan: Option[LogicalPlan] = None): Throwable
- def notADeltaTableException(operation: String): Throwable
- def notADeltaTableException(operation: String, deltaTableIdentifier: DeltaTableIdentifier): Throwable
- def notADeltaTableException(deltaTableIdentifier: DeltaTableIdentifier): Throwable
- def notEnoughColumnsInInsert(table: String, query: Int, target: Int, nestedField: Option[String] = None): Throwable
- def notNullInvariantException(invariant: Invariant): Throwable
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def operationNotSupportedException(operation: String): Throwable
- def operationNotSupportedException(operation: String, tableIdentifier: TableIdentifier): Throwable
- def outputModeNotSupportedException(dataSource: String, outputMode: OutputMode): Throwable
- def partitionColumnNotFoundException(colName: String, schema: Seq[Attribute]): Throwable
- def partitionPathInvolvesNonPartitionColumnException(badColumns: Seq[String], fragment: String): Throwable
- def partitionPathParseException(fragment: String): Throwable
- def pathAlreadyExistsException(path: Path): Throwable
- def pathNotExistsException(path: String): Throwable
- def pathNotSpecifiedException: Throwable
- def postCommitHookFailedException(failedHook: PostCommitHook, failedOnCommitVersion: Long, extraErrorMessage: String, error: Throwable): Throwable
- def provideOneOfInTimeTravel: Throwable
-
def
recordDeltaEvent(deltaLog: DeltaLog, opType: String, tags: Map[TagDefinition, String] = Map.empty, data: AnyRef = null): Unit
Used to record the occurrence of a single event or report detailed, operation specific statistics.
Used to record the occurrence of a single event or report detailed, operation specific statistics.
- Attributes
- protected
- Definition Classes
- DeltaLogging
-
def
recordDeltaOperation[A](deltaLog: DeltaLog, opType: String, tags: Map[TagDefinition, String] = Map.empty)(thunk: ⇒ A): A
Used to report the duration as well as the success or failure of an operation.
Used to report the duration as well as the success or failure of an operation.
- Attributes
- protected
- Definition Classes
- DeltaLogging
-
def
recordEvent(metric: MetricDefinition, additionalTags: Map[TagDefinition, String] = Map.empty, blob: String = null, trimBlob: Boolean = true): Unit
- Definition Classes
- DatabricksLogging
-
def
recordOperation[S](opType: OpType, opTarget: String = null, extraTags: Map[TagDefinition, String], isSynchronous: Boolean = true, alwaysRecordStats: Boolean = false, allowAuthTags: Boolean = false, killJvmIfStuck: Boolean = false, outputMetric: MetricDefinition = null, silent: Boolean = true)(thunk: ⇒ S): S
- Definition Classes
- DatabricksLogging
-
def
recordUsage(metric: MetricDefinition, quantity: Double, additionalTags: Map[TagDefinition, String] = Map.empty, blob: String = null, forceSample: Boolean = false, trimBlob: Boolean = true, silent: Boolean = false): Unit
- Definition Classes
- DatabricksLogging
- def replaceWhereMismatchException(replaceWhere: String, badPartitions: String): Throwable
- def schemaChangedException(oldSchema: StructType, newSchema: StructType): Throwable
- def schemaChangedSinceAnalysis(atAnalysis: StructType, latestSchema: StructType): Throwable
- def schemaNotProvidedException: Throwable
- def schemaNotSetException: Throwable
- def setLocationNotSupportedOnPathIdentifiers(): Throwable
- def specifySchemaAtReadTimeException: Throwable
- def staticPartitionsNotSupportedException: Throwable
- def streamWriteNullTypeException: Throwable
- def subqueryNotSupportedException(op: String, cond: Expression): Throwable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def tableNotSupportedException(operation: String): Throwable
- def temporallyUnstableInput(userTimestamp: Timestamp, commitTs: Timestamp, timestampString: String, commitVersion: Long): Throwable
- def timeTravelNotSupportedException: Throwable
- def timestampEarlierThanCommitRetention(userTimestamp: Timestamp, commitTs: Timestamp, timestampString: String): Throwable
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def truncateTablePartitionNotSupportedException: Throwable
- def unexpectedDataChangeException(op: String): Throwable
- def unexpectedNumPartitionColumnsFromFileNameException(path: String, parsedCols: Seq[String], expectedCols: Seq[String]): Throwable
- def unexpectedPartitionColumnFromFileNameException(path: String, parsedCol: String, expectedCol: String): Throwable
- def unknownConfigurationKeyException(confKey: String): Throwable
- def unrecognizedLogFile(path: Path): Throwable
- def unsetNonExistentPropertyException(propertyKey: String, deltaTableIdentifier: DeltaTableIdentifier): Throwable
- def unsupportedGenerateModeException(modeName: String): Throwable
- def updateNonStructTypeFieldNotSupportedException(col: String, s: DataType): Throwable
- def updateSetColumnNotFoundException(col: String, colList: Seq[String]): Throwable
- def updateSetConflictException(cols: Seq[String]): Throwable
- def useDeltaOnOtherFormatPathException(operation: String, path: String, spark: SparkSession): Throwable
- def useOtherFormatOnDeltaPathException(operation: String, deltaRootPath: String, path: String, format: String, spark: SparkSession): Throwable
- def vacuumBasePathMissingException(baseDeltaPath: Path): Throwable
- def versionNotExistException(userVersion: Long, earliest: Long, latest: Long): Throwable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withStatusCode[T](statusCode: String, defaultMessage: String, data: Map[String, Any] = Map.empty)(body: ⇒ T): T
Report a log to indicate some command is running.
Report a log to indicate some command is running.
- Definition Classes
- DeltaProgressReporter