software.amazon.awscdk.services.glue.alpha.SurplusBytesHandlingAction Maven / Gradle / Ivy
package software.amazon.awscdk.services.glue.alpha;
/**
* (experimental) 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"_
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-11-15T10:25:09.362Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.glue.alpha.$Module.class, fqn = "@aws-cdk/aws-glue-alpha.SurplusBytesHandlingAction")
public enum SurplusBytesHandlingAction {
/**
* (experimental) Replaces data that exceeds the column width with null.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
SET_TO_NULL,
/**
* (experimental) Doesn't perform surplus byte handling.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
DISABLED,
/**
* (experimental) Cancels queries that return data exceeding the column width.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
FAIL,
/**
* (experimental) Drop all rows that contain data exceeding column width.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
DROP_ROW,
/**
* (experimental) Removes the characters that exceed the maximum number of characters defined for the column.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
TRUNCATE,
}