In Snowflake, There is a concept named Snowpipe which will load the data automatically to configured tables from the different data sources.
We are trying to do the normalization while loading into the snowflake via Snowpipe.
Table A:
Id & EmployerName
Table B:
Id, Employeename & EmployerID
Value in the File
Name, EmployerName
Raj, Google
Kumar, Microsoft
We are unable to populate table A & table B in a same pipe as the pipe has only one copy statement.
Is there any concept like dependent PIPE & other ways to load the lookup table first & load the main table from the sample file?
Note:
- If we have two pipes we are unable to specify the dependency.