SurplusBytesHandlingAction

class aws_cdk.aws_glue_alpha.SurplusBytesHandlingAction(*values)

Bases: Enum

(deprecated) Specifies how to handle data being loaded that exceeds the length of the data type defined for columns containing VARBYTE data.

By default, Redshift Spectrum sets the value to null for data that exceeds the width of the column.

See:

https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_EXTERNAL_TABLE.html#r_CREATE_EXTERNAL_TABLE-parameters - under “TABLE PROPERTIES” > “surplus_bytes_handling”

Stability:

deprecated

Attributes

DISABLED

(deprecated) Doesn’t perform surplus byte handling.

Stability:

deprecated

DROP_ROW

(deprecated) Drop all rows that contain data exceeding column width.

Stability:

deprecated

FAIL

(deprecated) Cancels queries that return data exceeding the column width.

Stability:

deprecated

SET_TO_NULL

(deprecated) Replaces data that exceeds the column width with null.

Stability:

deprecated

TRUNCATE

(deprecated) Removes the characters that exceed the maximum number of characters defined for the column.

Stability:

deprecated