Today, I will discuss about the “Wildcards in Pentaho”. I have tried to cover all possible Scenarios.
Use the below wildcard for below mentioned Scenarios.
1. Get all files present inside a particular Directory.
2. Get all CSV files.
3. Get all CSV files having special character like UnderScore (_)
4. Get all CSV files starting with Particular Pattern . For Example abc*****.csv
5. Get all CSV files having pattern in between.For example ***abc***.csv
6. Get all CSV files which are ending with Numbers.
7. Get all CSV files starting with particular Pattern and ending with numbers.
8. Get all CSV files having numbers with defined length.For example test_123478.csv
9. Get all CSV files with uppercase only.
10. Get all CSV files with lowercase only.
11. Get all CSV files having uppercase or lowercase or both .
12. Get all CSV files having lowercase and numbers in the file name.
13. Get all CSV files having particular Date Pattern. for example test_20190522.csv.
You need to design ETL code for this as we need to set the current date and then change it to String using “select Values” Component.Sharing the SS step by Step for the same.
If anyone has any Query regarding wildcards, please post your Queries to firstname.lastname@example.org