Struct aws_sdk_glue::types::BackfillError
source · #[non_exhaustive]pub struct BackfillError {
pub code: Option<BackfillErrorCode>,
pub partitions: Option<Vec<PartitionValueList>>,
}
Expand description
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.code: Option<BackfillErrorCode>
The error code for an error that occurred when registering partition indexes for an existing table.
partitions: Option<Vec<PartitionValueList>>
A list of a limited number of partitions in the response.
Implementations§
source§impl BackfillError
impl BackfillError
sourcepub fn code(&self) -> Option<&BackfillErrorCode>
pub fn code(&self) -> Option<&BackfillErrorCode>
The error code for an error that occurred when registering partition indexes for an existing table.
sourcepub fn partitions(&self) -> &[PartitionValueList]
pub fn partitions(&self) -> &[PartitionValueList]
A list of a limited number of partitions in the response.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .partitions.is_none()
.
source§impl BackfillError
impl BackfillError
sourcepub fn builder() -> BackfillErrorBuilder
pub fn builder() -> BackfillErrorBuilder
Creates a new builder-style object to manufacture BackfillError
.
Trait Implementations§
source§impl Clone for BackfillError
impl Clone for BackfillError
source§fn clone(&self) -> BackfillError
fn clone(&self) -> BackfillError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackfillError
impl Debug for BackfillError
source§impl PartialEq for BackfillError
impl PartialEq for BackfillError
source§fn eq(&self, other: &BackfillError) -> bool
fn eq(&self, other: &BackfillError) -> bool
self
and other
values to be equal, and is used
by ==
.