...
The Parquet Profile is used to define the Schema as well as define advanced properties for encoding. See .2.1 Parquet Profile Configuration for information on how to open the Parquet Profile editor.
Profile - Schema Tab
Profile Configuration Example - Schema Tab
...
Info | |||||||
---|---|---|---|---|---|---|---|
| |||||||
The structured text block shows an example Parquet schema for a book asset. Copy and paste this text to your schema.
|
Profile - Advanced Tab
Profile Configuration Example - Advanced Tab
...
In this workflow, CSV records in a disk are retrieved that are then encoded into a Parquet document. The workflow is illustrated here:
Example workflow with Parquet Encoder
Walking through the example workflow from left to right, we have:
- A Disk Agent named Disk_Source Agente that reads in the source file as a byte array.
- A Decoder Agent named CSV_Decoder that parses the bytes from the file and decodes the CSV records, passing BookRecord UDRs to the Analysis agent.
- An Analysis agent named Analysis that transforms these incoming BookRecord UDRs into ParquetEncoderUDRs in accordance with the schema specified in the Parquet Profile.
- The Parquet Encoder agent that receives the ParquetEncoderUDRs, encodes the data with Parquet, and forwards the data as a bytearraybyte-array.
- The Disk _Destination Collection forwarding agent receives the bytearray byte-array data and writes out a Parquet document.
...
Double-click on the Disk_Source agent to display the configuration dialog for the agent:
Example of a Disk agent configuration
...
The Decoder agent receives the input data from the Disk agent, translates it into UDRs and forwards them to the Analysis agent. Double-click on the Decoder agent to display the configuration dialog.
Example of an Decoder agent configuration
...
Double-click on the Analysis agent to display the configuration dialog.
The Analysis agent dialogue with the APL code defined.
...
Info | |||||||
---|---|---|---|---|---|---|---|
| |||||||
The APL code below shows an example of constructing a ParquetEncoderUDR:
|
...
Double-click on the Parquet Encoder agent to display the configuration dialog.
The Parquet Encoder agent with the Parquet Profile defined.
...
Double-click on the Disk_Destination agent to display the configuration dialog for the agent:
Example of a Disk agent configuration
...