I have created the below snow pipe. when I check the status of the pipe it says running. For some reason it is not copying the data, could someone please let me know how to check the error logs of Snowpipe?
The copy into "INGESTION_TEST"."TEST"."CAR_BASELINE_V2"
works fine when executed independently and is able to insert the data successfully.
Only when I run from snow pipe is it not copying data and not able to find the errors related to snow pipe.
create or replace pipe INGESTION_TEST.TEST.CAR_BASELINE_V2_PIPE auto_ingest=true as COPY INTO "INGESTION_TEST"."TEST"."CAR_BASELINE_V2"
FROM (
SELECT TO_TIMESTAMP(METADATA$START_SCAN_TIME)::STRING AS SNOWPIPE_INSERTION_TIME,$1:ID::STRING, $1:UUID::STRING, $1:CAR_NAME::STRING, $1:CAR_CATEGORY::STRING, $1:CAR_PRICE::STRING, $1:COLOR::STRING, $1:CREATED::STRING, $1:UPDATED::STRING
FROM @INGESTION_TEST.TEST.nexgen_stage/CAR_BASELINE_V2/
)
FILE_FORMAT = (TYPE = PARQUET);