Prerequisites:
This example assumes that you have created a Grid Variable and are populating it with the column name and data type of the table you are trying to create. This allows the create table to be dynamic depending on how you choose to populate the columns in the Grid Variable.
Steps:
- Add a Create Table component after the step populating your Grid Variable.
- Configure the Create Table component, when selecting Columns, select Use Grid Variable in the bottom left of the columns configuration window.
- Select the column name and type from the Grid Variable in their corresponding option.
- Add a S3 Load Component after the Create Table.
- Configure the S3 component
- In the design pattern, use an acceptable pattern to search for the files. You can use THIS documentation for samples.
- You can use variables for Target Tables
- Select the proper File Type that you want to un-nest, like PARQUET, JSON, CSV, etc.