Lab9 Snowpipe AWS
Lab9 Snowpipe AWS
(or)
// Create a pipe
CREATE OR REPLACE pipe mydb.pipes.employee_pipe
AUTO_INGEST = TRUE
AS
COPY INTO mydb.public.emp_data
FROM @mydb.external_stages.stage_aws_pipes
pattern = '.*employee.*';
// Get Notification channel ARN and update the same in event notifications SQS
queue
// Upload the file and verify the data in the table after a minute
SELECT * FROM mydb.public.emp_data;