grzegorzb1990 opened a new issue, #24360:
URL: https://github.com/apache/airflow/issues/24360

   ### Description
   
   I would like to propose to add a pattern parameter to allow loading only 
those files that satisfy the given regex pattern.
   
   This function is supported on the Snowflake side, it just requires passing a 
parameter to the COPY INTO command.
   [Snowflake 
documentation/](https://docs.snowflake.com/en/sql-reference/sql/copy-into-table.html#loading-using-pattern-matching)
   
   ### Use case/motivation
   
   I have multiple files with different schema in one folder. I would like to 
move to Snowflake only files which meet the given name filter, and I am not 
able to do it with the prefix parameter.
   
   ### Related issues
   
   I am not aware
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to