trait DeltaErrorsBase 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 docs.delta.io
- Alphabetic
- By Inheritance
- DeltaErrorsBase
- DeltaLogging
- DatabricksLogging
- DeltaProgressReporter
- Logging
- DocsPath
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class TemporallyUnstableInputException(userTimestamp: Timestamp, commitTs: Timestamp, timestampString: String, commitVersion: Long) extends AnalysisException with Product with Serializable
- case class TimestampEarlierThanCommitRetentionException(userTimestamp: Timestamp, commitTs: Timestamp, timestampString: String) extends AnalysisException with Product with Serializable
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 EmptyCheckpointErrorMessage: String
- def actionNotFoundException(action: String, version: Long): Throwable
- def activeSparkSessionNotFound(): Throwable
- def activeTransactionAlreadySet(): Throwable
- def addColumnAtIndexLessThanZeroException(pos: String, col: String): Throwable
- def addColumnStructNotFoundException(pos: String): Throwable
- def addFilePartitioningMismatchException(addFilePartitions: Seq[String], metadataPartitions: Seq[String]): Throwable
- 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 ambiguousPathsInCreateTableException(identifier: String, location: String): 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 blockCdfAndColumnMappingReads(): Throwable
- def blockColumnMappingAndCdcOperation(op: Operation): Throwable
- def blockStreamingReadsOnColumnMappingEnabledTable: Throwable
- 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 cannotChangeDataType(msg: String): Throwable
- def cannotChangeProvider(): Throwable
- def cannotCreateLogPathException(logPath: String): Throwable
- def cannotFindSourceVersionException(json: String): Throwable
- def cannotGenerateUpdateExpressions(): Throwable
- def cannotInsertIntoColumn(tableName: String, source: String, target: String, targetType: String): Throwable
- def cannotModifyTableProperty(prop: String): Throwable
- def cannotRenamePath(tempPath: String, path: String): Throwable
- def cannotReplaceMissingTableException(itableIdentifier: Identifier): Throwable
- def cannotResolveColumn(fieldName: String, schema: StructType): Throwable
- def cannotSetLocationMultipleTimes(locations: Seq[String]): Throwable
- def cannotSpecifyBothFileListAndPatternString(): Throwable
- def cannotUpdateArrayField(table: String, field: String): Throwable
- def cannotUpdateMapField(table: String, field: String): Throwable
- def cannotUpdateStructField(table: String, field: String): Throwable
- def cannotUseDataTypeForPartitionColumnError(field: StructField): Throwable
- def castPartitionValueException(partitionValue: String, dataType: DataType): Throwable
- def cdcColumnsInData(columns: Seq[String]): Throwable
Thrown when main table data contains columns that are reserved for CDF, such as
_change_type. - def cdcNotAllowedInThisVersion(): Throwable
- def cdcWriteNotAllowedInThisVersion(): Throwable
- def changeColumnMappingModeNotSupported(oldMode: String, newMode: String): Throwable
- def changeColumnMappingModeOnOldProtocol(oldProtocol: Protocol): Throwable
- def changeDataNotRecordedException(version: Long, start: Long, end: Long): Throwable
Throwable used when CDC is not enabled according to table metadata.
- def checkConstraintNotBoolean(name: String, expr: String): AnalysisException
- def checkpointMismatchWithSnapshot: Throwable
- def checkpointNonExistTable(path: Path): Throwable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def columnNameNotFoundException(colName: String, scheme: String): Throwable
- def columnNotFound(path: Seq[String], schema: StructType): Throwable
- def columnNotInSchemaException(column: String, schema: StructType): Throwable
- def columnOfTargetTableNotFoundInMergeException(targetCol: String, colNames: String): Throwable
- def columnRenameNotSupported: Throwable
- def commitAlreadyExistsException(version: Long, logPath: Path): Throwable
- def concurrentAppendException(conflictingCommit: Option[CommitInfo], partition: String, customRetryMsg: Option[String] = None): io.delta.exceptions.ConcurrentAppendException
- def concurrentDeleteDeleteException(conflictingCommit: Option[CommitInfo], file: String): io.delta.exceptions.ConcurrentDeleteDeleteException
- def concurrentDeleteReadException(conflictingCommit: Option[CommitInfo], file: String): io.delta.exceptions.ConcurrentDeleteReadException
- def concurrentModificationExceptionMsg(sparkConf: SparkConf, baseMessage: String, commit: Option[CommitInfo]): String
- def concurrentTransactionException(conflictingCommit: Option[CommitInfo]): io.delta.exceptions.ConcurrentTransactionException
- def concurrentWriteException(conflictingCommit: Option[CommitInfo]): io.delta.exceptions.ConcurrentWriteException
- def configureSparkSessionWithExtensionAndCatalog(originalException: Throwable): Throwable
- def constraintAlreadyExists(name: String, oldExpr: String): AnalysisException
- def convertMetastoreMetadataMismatchException(tableProperties: Map[String, String], deltaConfiguration: Map[String, String]): Throwable
- def convertNonParquetTablesException(ident: TableIdentifier, sourceName: String): Throwable
- def convertToDeltaWithColumnMappingNotSupported(mode: DeltaColumnMappingMode): 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 createTableWithNonEmptyLocation(tableId: String, tableLocation: 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 deltaSourceIgnoreChangesError(version: Long, removedFile: String): Throwable
- def deltaSourceIgnoreDeleteError(version: Long, removedFile: String): Throwable
- def deltaTableFoundInExecutor(): Throwable
- def deltaVersionsNotContiguousException(spark: SparkSession, deltaVersions: Seq[Long]): Throwable
- def describeViewHistory: Throwable
- def directoryNotFoundException(path: String): Throwable
- def dropColumnNotSupported(suggestUpgrade: Boolean): Throwable
- def dropNestedColumnsFromNonStructTypeException(struct: StructField): Throwable
- def dropPartitionColumnNotSupported(droppingPartCols: Seq[String]): Throwable
- def duplicateColumnOnInsert(): Throwable
- def duplicateColumnsOnUpdateTable(originalException: Throwable): Throwable
- def duplicatedColumnId(mode: DeltaColumnMappingMode, id: Long, schema: StructType): Throwable
- def duplicatedPhysicalName(mode: DeltaColumnMappingMode, physicalName: String, schema: StructType): Throwable
- def emptyCalendarInterval: Throwable
- def emptyDataException: Throwable
- def emptyDirectoryException(directory: String): Throwable
- def endBeforeStartVersionInCDC(start: Long, end: Long): Throwable
Throwable used for invalid CDC 'start' and 'end' options, where end < start
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): 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
- def excludeRegexOptionException(regexOption: String, cause: Throwable = null): Throwable
- def expressionsNotFoundInGeneratedColumn(column: String): Throwable
- def extractReferencesFieldNotFound(field: String, exception: Throwable): Throwable
- def failOnCheckpoint(src: String, dest: String): DeltaIllegalStateException
- def failOnCheckpoint(src: Path, dest: Path): DeltaIllegalStateException
- def failOnDataLossException(expectedVersion: Long, seenVersion: Long): Throwable
- def failRelativizePath(pathName: String): Throwable
- def failedFindAttributeInOutputCollumns(newAttrName: String, targetCollNames: String): Throwable
- def failedInferSchema: Throwable
- def failedMergeSchemaFile(file: String, schema: String, cause: Throwable): Throwable
- def failedReadFileFooter(file: String, e: Throwable): Throwable
- def failedRecognizePredicate(predicate: String, cause: Throwable): Throwable
- def failedScanWithHistoricalVersion(historicalVersion: Long): Throwable
- val faqRelativePath: String
- def fileAlreadyExists(file: String): Throwable
- def fileNotFoundException(path: String): Throwable
- def fileOrDirectoryNotFoundException(path: String): Throwable
- 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 foundDuplicateColumnsException(colType: String, duplicateCols: String): Throwable
- def foundInvalidCharsInColumnNames(cause: Throwable): Throwable
- def foundMapTypeColumnException(key: String, value: String): Throwable
- def foundViolatingConstraintsForColumnChange(operation: String, columnName: String, constraints: Map[String, String]): Throwable
- def foundViolatingGeneratedColumnsForColumnChange(operation: String, columnName: String, fields: Seq[StructField]): Throwable
- 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 allowlist.
- returns
The entire URL of the documentation link
- Definition Classes
- DocsPath
- def generateManifestWithColumnMappingNotSupported: Throwable
- def generatedColumnsAggregateExpression(expr: Expression): Throwable
- def generatedColumnsNonDeltaFormatError(): Throwable
- def generatedColumnsNonDeterministicExpression(expr: Expression): Throwable
- def generatedColumnsReferToWrongColumns(e: AnalysisException): Throwable
- def generatedColumnsTypeMismatch(column: String, columnType: DataType, exprType: DataType): Throwable
- def generatedColumnsUDF(expr: Expression): Throwable
- def generatedColumnsUnsupportedExpression(expr: Expression): Throwable
- def generatedColumnsUpdateColumnType(current: StructField, update: StructField): Throwable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def identityColumnInconsistentMetadata(colName: String, hasStart: Boolean, hasStep: Boolean, hasInsert: Boolean): Throwable
- def identityColumnNotSupported(): Throwable
- def ignoreStreamingUpdatesAndDeletesWarning(spark: SparkSession): String
- def illegalDeltaOptionException(name: String, input: String, explain: String): Throwable
- def illegalFilesFound(file: String): Throwable
- def illegalUsageException(option: String, operation: String): Throwable
- def inSubqueryNotSupportedException(operation: String): Throwable
- def inconsistentLogStoreConfs(setKeys: Seq[(String, String)]): Throwable
- def incorrectArrayAccess(): Throwable
- def incorrectArrayAccessByName(rightName: String, wrongName: String): Throwable
- def incorrectLogStoreImplementationException(sparkConf: SparkConf, cause: Throwable): Throwable
- def indexLargerOrEqualThanStruct(pos: Int, len: Int): Throwable
- def indexLargerThanStruct(pos: Int, column: StructField, len: Int): 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 invalidCommittedVersion(attemptVersion: Long, currentVersion: Long): Throwable
- def invalidConstraintName(name: String): AnalysisException
- def invalidFormatFromSourceVersion(wrongVersion: Long, expectedVersion: Integer): Throwable
- def invalidIdempotentWritesOptionsException(explain: String): Throwable
- def invalidInterval(interval: String): Throwable
- def invalidIsolationLevelException(s: String): Throwable
- def invalidMergeClauseWhenNotMatched(clause: String): Throwable
- def invalidPartitionColumn(e: AnalysisException): Throwable
- def invalidPartitionColumn(col: String, tbl: String): Throwable
- def invalidSourceVersion(version: JValue): Throwable
- def invalidTableValueFunction(function: String): Throwable
- def invalidTimestampFormat(ts: String, format: String, cause: Option[Throwable] = None): Throwable
- def invalidV1TableCall(callVersion: String, tableVersion: String): Throwable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def iteratorAlreadyClosed(): Throwable
- 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 logFailedIntegrityCheck(version: Long, mismatchOption: String): Throwable
- 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 logStoreConfConflicts(classConf: Seq[(String, String)], schemeConf: Seq[(String, String)]): Throwable
- 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 maxArraySizeExceeded(): Throwable
- def maxCommitRetriesExceededException(attemptNumber: Int, attemptVersion: Long, initAttemptVersion: Long, numActions: Int, totalCommitAttemptTime: Long): Throwable
- def metadataAbsentException(): Throwable
- def metadataChangedException(conflictingCommit: Option[CommitInfo]): io.delta.exceptions.MetadataChangedException
- def missingColumn(attr: Attribute, targetAttrs: Seq[Attribute]): Throwable
- def missingColumnId(mode: DeltaColumnMappingMode, field: String): Throwable
- def missingColumnsInInsertInto(column: String): Throwable
- def missingDeltaStorageJar(e: NoClassDefFoundError): Throwable
- def missingPartFilesException(version: Long, ae: Exception): Throwable
- def missingPartitionColumn(col: String, schemaCatalog: String): Throwable
- def missingPhysicalName(mode: DeltaColumnMappingMode, field: String): Throwable
- def missingProviderForConvertException(path: String): Throwable
- def missingTableIdentifierException(operationName: String): Throwable
- def modifyAppendOnlyTableException(tableName: String): Throwable
- def multiColumnInPredicateNotSupportedException(operation: String): Throwable
- def multipleCDCBoundaryException(position: String): Throwable
Thrown when a CDC query contains conflict 'starting' or 'ending' options, e.g.
Thrown when a CDC query contains conflict 'starting' or 'ending' options, e.g. when both starting version and starting timestamp are specified.
- position
Specifies which option was duplicated in the read. Values are "starting" or "ending"
- 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 nestedFieldsNeedRename(columns: Set[String], baseSchema: StructType): Throwable
- def nestedNotNullConstraint(parent: String, nested: DataType, nestType: String): AnalysisException
- def newCheckConstraintViolated(num: Long, tableName: String, expr: String): AnalysisException
- def newNotNullViolated(num: Long, tableName: String, col: UnresolvedAttribute): AnalysisException
- def noHistoryFound(logPath: Path): Throwable
- def noNewAttributeId(oldAttr: AttributeReference): Throwable
- def noReproducibleHistoryFound(logPath: Path): Throwable
- def noStartVersionForCDC(): Throwable
Throwable used when CDC options contain no 'start'.
- def nonDeterministicNotSupportedException(op: String, cond: Expression): Throwable
- def nonExistentColumnInSchema(column: String, schema: String): Throwable
- def nonExistentDeltaTable(table: String): Throwable
- def nonGeneratedColumnMissingUpdateExpression(column: Attribute): Throwable
- def nonPartitionColumnAbsentException(colsDropped: Boolean): Throwable
- def nonPartitionColumnReference(colName: String, partitionColumns: Seq[String]): Throwable
- def nonexistentConstraint(constraintName: String, tableName: String): AnalysisException
- def notADeltaSourceException(command: String, plan: Option[LogicalPlan] = None): Throwable
- def notADeltaTable(table: String): 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 notFoundFileToBeRewritten(absolutePath: String, candidates: Iterable[String]): Throwable
- def notNullColumnMissingException(constraint: NotNull): Throwable
- def notNullColumnNotFoundInStruct(struct: String): Throwable
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def nullableParentWithNotNullNestedField: Throwable
- def operationNotSupportedException(operation: String): Throwable
- def operationNotSupportedException(operation: String, tableIdentifier: TableIdentifier): Throwable
- def operationOnTempViewWithGenerateColsNotSupported(op: String): Throwable
- def outputModeNotSupportedException(dataSource: String, outputMode: String): Throwable
- def partitionColumnCastFailed(columnValue: String, dataType: String, columnName: String): 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 protocolChangedException(conflictingCommit: Option[CommitInfo]): io.delta.exceptions.ProtocolChangedException
- def protocolPropNotIntException(key: String, value: String): Throwable
- def provideOneOfInTimeTravel: Throwable
- def readTableWithoutSchemaException(identifier: String): Throwable
- def recordDeltaEvent(deltaLog: DeltaLog, opType: String, tags: Map[TagDefinition, String] = Map.empty, data: AnyRef = null, path: Option[Path] = None): 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.
- path
Used to log the path of the delta table when
deltaLogis null.
- 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 on a
deltaLog.Used to report the duration as well as the success or failure of an operation on a
deltaLog.- Attributes
- protected
- Definition Classes
- DeltaLogging
- def recordDeltaOperationForTablePath[A](tablePath: String, 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 on a
tahoePath.Used to report the duration as well as the success or failure of an operation on a
tahoePath.- 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 recordFrameProfile[T](group: String, name: String)(thunk: => T): T
- Attributes
- protected
- Definition Classes
- DeltaLogging
- 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 recordProductEvent(metric: MetricDefinition with CentralizableMetric, additionalTags: Map[TagDefinition, String] = Map.empty, blob: String = null, trimBlob: Boolean = true): Unit
- Definition Classes
- DatabricksLogging
- def recordProductUsage(metric: MetricDefinition with CentralizableMetric, 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 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 removeFileCDCMissingExtendedMetadata(fileName: String): Throwable
- def replaceWhereMismatchException(replaceWhere: String, badPartitions: String): Throwable
- def replaceWhereMismatchException(replaceWhere: String, invariantViolation: InvariantViolationException): Throwable
- def replaceWhereUsedInOverwrite(): Throwable
- def replaceWhereUsedWithDynamicPartitionOverwrite(): Throwable
- def replaceWhereWithFilterDataChangeUnset(dataFilters: String): Throwable
- def restoreMissedDataFilesError(missedFiles: Array[String], version: Long): Throwable
- def restoreTimestampBeforeEarliestException(userTimestamp: String, earliestTimestamp: String): Throwable
- def restoreTimestampGreaterThanLatestException(userTimestamp: String, latestTimestamp: String): Throwable
- def restoreVersionNotExistException(userVersion: Long, earliest: Long, latest: Long): Throwable
- def schemaChangeDuringMappingModeChangeNotSupported(oldSchema: StructType, newSchema: StructType): Throwable
- def schemaChangedException(oldSchema: StructType, newSchema: StructType, retryable: Boolean): Throwable
- def schemaChangedSinceAnalysis(atAnalysis: StructType, latestSchema: StructType, mentionLegacyFlag: Boolean = false): Throwable
- def schemaNotConsistentWithTarget(tableSchema: String, targetAttr: String): Throwable
- def schemaNotProvidedException: Throwable
- def schemaNotSetException: Throwable
- def setLocationNotSupportedOnPathIdentifiers(): Throwable
- def showPartitionInNotPartitionedTable(tableName: String): Throwable
- def sourceNotDeterministicInMergeException(spark: SparkSession): Throwable
- def sparkSessionNotSetException(): Throwable
- def sparkTaskThreadNotFound: Throwable
- def specifySchemaAtReadTimeException: Throwable
- def startVersionAfterLatestVersion(start: Long, latest: Long): Throwable
Throwable used for invalid CDC 'start' and 'latest' options, where latest < start
- def startingVersionAndTimestampBothSetException(versionOptKey: String, timestampOptKey: String): 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 tableAlreadyContainsCDCColumns(columns: Seq[String]): Throwable
Thrown when main table data already contains columns that are reserved for CDF, such as
_change_type, but CDF is not yet enabled on that table. - def tableAlreadyExists(table: CatalogTable): Throwable
- def tableNotSupportedException(operation: String): Throwable
- def throwDeltaIllegalArgumentException(): Throwable
This is a method only used for testing Py4J exception handling.
- def timeTravelInvalidBeginValue(timeTravelKey: String, cause: Throwable): Throwable
- def timeTravelNotSupportedException: Throwable
- def timestampGreaterThanLatestCommit(userTimestamp: Timestamp, commitTs: Timestamp, timestampString: String): Throwable
- def timestampInvalid(expr: Expression): Throwable
- def toString(): String
- Definition Classes
- AnyRef → Any
- def truncateTablePartitionNotSupportedException: Throwable
- def unSupportedInvariantNonStructType: Throwable
- def unexpectedAlias(alias: String): Throwable
- def unexpectedAttributeReference(ref: String): Throwable
- def unexpectedChangeFilesFound(changeFiles: String): Throwable
- def unexpectedDataChangeException(op: String): Throwable
- def unexpectedNumPartitionColumnsFromFileNameException(path: String, parsedCols: Seq[String], expectedCols: Seq[String]): Throwable
- def unexpectedPartialScan(path: Path): Throwable
- def unexpectedPartitionColumnFromFileNameException(path: String, parsedCol: String, expectedCol: String): Throwable
- def unknownConfigurationKeyException(confKey: String): Throwable
- def unrecognizedColumnChange(otherClass: String): Throwable
- def unrecognizedFileAction(otherAction: String, otherClass: String): Throwable
- def unrecognizedInvariant(): Throwable
- def unrecognizedLogFile(path: Path): Throwable
- def unsetNonExistentProperty(key: String, table: String): Throwable
- def unsupportSubqueryInPartitionPredicates(): Throwable
- def unsupportedAbsPathAddFile(str: String): Throwable
- def unsupportedColumnMappingMode(mode: String): Throwable
We have plans to support more column mapping modes, but they are not implemented yet, so we error for now to be forward compatible with tables created in the future.
- def unsupportedDataTypes(unsupportedDataType: UnsupportedDataTypeInfo, moreUnsupportedDataTypes: UnsupportedDataTypeInfo*): Throwable
- def unsupportedGenerateModeException(modeName: String): Throwable
- def unsupportedTruncateSampleTables: Throwable
- def unsupportedWriteStagedTable(tableName: String): Throwable
- def updateNonStructTypeFieldNotSupportedException(col: String, s: DataType): Throwable
- def updateSchemaMismatchExpression(from: StructType, to: StructType): Throwable
- def updateSetColumnNotFoundException(col: String, colList: Seq[String]): Throwable
- def updateSetConflictException(cols: Seq[String]): Throwable
- def useAddConstraints: Throwable
- def useSetLocation(): Throwable
- def vacuumBasePathMissingException(baseDeltaPath: Path): Throwable
- def viewInDescribeDetailException(view: TableIdentifier): Throwable
- def viewNotSupported(operationName: String): Throwable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withDmqTag[T](thunk: => T): T
- Attributes
- protected
- Definition Classes
- DeltaLogging
- 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
- def zOrderingColumnDoesNotExistException(colName: String): Throwable
- def zOrderingOnColumnWithNoStatsException(colNames: Seq[String], spark: SparkSession): Throwable
- def zOrderingOnPartitionColumnException(colName: String): Throwable