amazonka-glue-2.0: Amazon Glue SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glue.Types.BackfillError

Description

 
Synopsis

Documentation

data BackfillError Source #

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.

See: newBackfillError smart constructor.

Constructors

BackfillError' 

Fields

Instances

Instances details
FromJSON BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

Generic BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

Associated Types

type Rep BackfillError :: Type -> Type #

Read BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

Show BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

NFData BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

Methods

rnf :: BackfillError -> () #

Eq BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

Hashable BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

type Rep BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

type Rep BackfillError = D1 ('MetaData "BackfillError" "Amazonka.Glue.Types.BackfillError" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "BackfillError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackfillErrorCode)) :*: S1 ('MetaSel ('Just "partitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PartitionValueList]))))

newBackfillError :: BackfillError Source #

Create a value of BackfillError with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:code:BackfillError', backfillError_code - The error code for an error that occurred when registering partition indexes for an existing table.

$sel:partitions:BackfillError', backfillError_partitions - A list of a limited number of partitions in the response.

backfillError_code :: Lens' BackfillError (Maybe BackfillErrorCode) Source #

The error code for an error that occurred when registering partition indexes for an existing table.

backfillError_partitions :: Lens' BackfillError (Maybe [PartitionValueList]) Source #

A list of a limited number of partitions in the response.