on 08-29-2022 11:16 PM
Hi all,
I'm fairly new to SAP DI; we're currently looking at options of retrieving S3 objects that are created by a Table Replicator (CDC) within a flow (which have timestamp added within their name), and joining these against a HANA table using a Data Transform. I think to do this we would need to read the created S3 objects first via a Structured File Consumer, but I cannot see a way of specifying the S3 source object path/filename here; it appears to require a constant Source path to be defined.
Can anyone advise whether its possible to specify source object paths programmatically in Structured File Consumer please, or if their may be alternative solutions to what we are trying to accomplish (performing a join of a HANA table against multiple outputs generated from CDC)?
Thanks,
Bryce
hi michal,Bryce
Our requirement is to read multiple files with same format through structure file consumer operator.
Followed the above mentioned steps, and at runtime we are providing a wild card character *.csv so that all the files can be read from the same location.
Getting error, can we pass wild card characters to read multiple files?
Thanks,
Shubha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shubha, You can use Monitor file operator to read all file paths under directory and that can be fed into an Read FIle / Binary FIle consumer operator to read the content.
You can also use Python or Java script to feed the dynamic file name as input to Read operator which can get you the content.
Thanks
User | Count |
---|---|
75 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.