BackfillError class

A list of errors that can occur when registering partition indexes for an existing table.

These errors give the details about why an index registration failed and provide a limited number of partitions in the response, so that you can fix the partitions at fault and try registering the index again. The most common set of errors that can occur are categorized as follows:

  • EncryptedPartitionError: The partitions are encrypted.
  • InvalidPartitionTypeDataError: The partition value doesn't match the data type for that partition column.
  • MissingPartitionValueError: The partitions are encrypted.
  • UnsupportedPartitionCharacterError: Characters inside the partition value are not supported. For example: U+0000 , U+0001, U+0002.
  • InternalError: Any error which does not belong to other error codes.

Constructors

BackfillError({BackfillErrorCode? code, List<PartitionValueList>? partitions})
BackfillError.fromJson(Map<String, dynamic> json)
factory

Properties

code BackfillErrorCode?
The error code for an error that occurred when registering partition indexes for an existing table.
final
hashCode int
The hash code for this object.
no setterinherited
partitions List<PartitionValueList>?
A list of a limited number of partitions in the response.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited