ExtractSchemaColumns 2025.10.9.21

Bundle

com.snowflake.openflow.runtime | runtime-record-schema-nar

Description

Extracts the record schema columns from the FlowFile using the supplied Record Reader and writes it to the schema.columns attribute.

Tags

avro, csv, freeform, generic, json, record, schema, text, xml

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
End Column IndexSpecifies index of the column in schema to which columns should be taken.
Record ReaderSpecifies the Controller Service to use for reading incoming data
Start Column IndexSpecifies index of the column (numbered from 1) in schema from which columns should be taken.

Relationships

NameDescription
failureIf a FlowFile’s record schema cannot be extracted from the configured input format, the FlowFile will be routed to this relationship
successFlowFiles whose record schemas are successfully extracted will be routed to this relationship

Writes attributes

NameDescription
record.error.messageThis attribute provides on failure the error message encountered by the Reader.
schema.columnsThis attribute provides columns extracted from the input FlowFile using the provided RecordReader.