ColumnCountMismatchHandlingAction

class aws_cdk.aws_glue_alpha.ColumnCountMismatchHandlingAction(value)

Bases: Enum

(experimental) Identifies if the file contains less or more values for a row than the number of columns specified in the external table definition.

This property is only available for an uncompressed text file format.

See:

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

Stability:

experimental

Attributes

DISABLED

(experimental) Column count mismatch handling is turned off.

Stability:

experimental

DROP_ROW

(experimental) Drop all rows that contain column count mismatch error from the scan.

Stability:

experimental

FAIL

(experimental) Fail the query if the column count mismatch is detected.

Stability:

experimental

SET_TO_NULL

(experimental) Fill missing values with NULL and ignore the additional values in each row.

Stability:

experimental