Configuring the Snowflake external table Job
Procedure
-
Configure tDBConnection_1 to establish a connection to
Snowflake. In the Basic settings view of the
component:
-
Configure tDBRow_1 to create a stage referencing the
file S3://my-bucket/logs/log1.json. In the Basic
settings view of the component:
-
Configure tDBRow_2 to create an external table for the
stage. In the Basic settings view of the component:
-
Configure tDBRow_3 to refresh the external table using
the S3://logs/log1.json file. In the Basic
settings view of the component:
-
Configure tDBInput_1 to query the external table. In
the Basic settings view of the component:
- Configure tLogRow_1 to specify the output layout. In the Basic settings view of the component, select a preferred mode for the output.
-
Configure tDBClose_1
to close the connection to Snowflake. In the Basic
settings view of the component:
- Select Snowflake from the Database list and click Apply;
- Select tDBConnection_1 from the Connection Component list;
- Press Ctrl + S to save the Job.