Hello Rakesh Roshan Panigrahi,
Welcome to the Microsoft Q&A forum.
Did you specify the container name in the folder path? if you do not provide a path, the service creates a container and the log file at this path: https://[your-blob-account].blob.core.windows.net/[path-if-configured]/[copy-activity-run-id]/[auto-generated-GUID].csv
.
The log files can only be the csv files. The original data being skipped will be logged with comma as column delimiter if needed.
for the first question:
ADF doesn't provide a direct way to run a SQL query immediately after the Copy Command. However, you can create a separate activity in your pipeline to execute the SQL query after the Copy Activity is completed.
for the second question:
from the snowflake documentation, Snowflake does not directly support a VALIDATION_MODE=RETURN_ALL_ERRORS option for the COPY INTO command.
You might need to rely on the SELECT * FROM TABLE(VALIDATE(...)) approach after the copy activity to identify rejected rows
from the snowflake document:
VALIDATION_MODE
does not support COPY statements that transform data during a load. If the parameter is specified, the COPY statement returns an error.
Use the VALIDATE table function to view all errors encountered during a previous load. Note that this function also does not support COPY statements that transform data during a load.
https://docs.snowflake.com/en/sql-reference/sql/copy-into-table
I hope this helps. Please let me know if you have any further questions.