Hi @rkand,
You can update the pattern to target only files with a 2023-02 prefix in their names.This will match all files from February, regardless of the specific date and timestamp.
Try with PATTERN = '2023-02-*.csv.gz'
This pattern matches any files that start with 2023-02, followed by any date and timestamp, and ending in .csv.gz.
Try and comments!
Regards.
Alfonso Gallardo
-------------------
I love working with tools like Databricks, Python, Azure, Microsoft Fabric, Azure Data Factory, and other Microsoft solutions, focusing on developing scalable and efficient solutions with Apache Spark