Forum Discussion
darshthakkar
3 years agoValued Contributor
@sathishmadavali : You can use 2 snaps over here:
-
Multi-File Reader and provide the path ensuring that the wildcard only takes into consideration the format you’re looking for (e.g. csv). You will have to specify multiple paths if you’re wanting to read multiple files.
-
Using router → if you go into views, you can add additional views for which you can write different functions like $objectKey == “testing.csv”, second function would be $objectKey == “testing.json” so on and so forth. This works if you’re having $objectKey in your upstream.
Moreover, I would also urge to open a new topic as we have branched out from reading today’s file to separating files. Thankyou.