Currently, we don’t have a feature to use a wildcard to specify multiple local files to load from in a single file source. However, what you can do is to use the USING keyword to specify the specific file to load from.
For instance, suppose your loading job is defined like this:
You can then do the following GSQL commands so that you would load the file one at a time. Notice that you can run the same loading job multiple times with a different file by utilizing the USING keyword. Some of the examples of the USING keyword can be seen here in this loading job doc.
RUN LOADING JOB load_file_in_part USING lf=".../file.txt-1"
RUN LOADING JOB load_file_in_part USING lf=".../file.txt-2"
RUN LOADING JOB load_file_in_part USING lf=".../file.txt-3"
RUN LOADING JOB load_file_in_part USING lf=".../file.txt-4"
I hope this helps! Please let us know if there’s any further questions from your end.