Unbox Class
Unboxes a string field in a DynamicFrame
.
Methods
__call__(frame, path, format, transformation_ctx = "", info="", stageThreshold=0, totalThreshold=0, **options)
Unboxes a string field in a DynamicFrame
.
-
frame
– TheDynamicFrame
in which to unbox a field. (required). -
path
– The full path to theStringNode
to unbox (required). -
format
– A format specification (optional). This is used for an Amazon Simple Storage Service (Amazon S3) or an AWS Glue connection that supports multiple formats. See Format Options for ETL Inputs and Outputs in AWS Glue for the formats that are supported. -
transformation_ctx
– A unique string that is used to identify state information (optional). -
info
– A string associated with errors in the transformation (optional). -
stageThreshold
– The maximum number of errors that can occur in the transformation before it errors out (optional; the default is zero). -
totalThreshold
– The maximum number of errors that can occur overall before processing errors out (optional; the default is zero). -
separator
– A separator token (optional). -
escaper
– An escape token (optional). -
skipFirst
–True
if the first line of data should be skipped, orFalse
if it should not be skipped (optional). -
withSchema
– A string containing schema for the data to be unboxed (optional). This should always be created using
StructType.json
. -
withHeader
–True
if the data being unpacked includes a header, orFalse
if not (optional).
Returns a new DynamicFrame
with unboxed DynamicRecords
.
apply(cls, *args, **kwargs)
Inherited from GlueTransform
apply.
name(cls)
Inherited from GlueTransform
name.
describeArgs(cls)
Inherited from GlueTransform
describeArgs.
describeReturn(cls)
Inherited from GlueTransform
describeReturn.
describeTransform(cls)
Inherited from GlueTransform
describeTransform.
describeErrors(cls)
Inherited from GlueTransform
describeErrors.
describe(cls)
Inherited from GlueTransform
describe.