This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Hi Team,
I’m reading a text file and wanted to fetch DISTINCT columns out of the data itself, screenshot below for your reference.
.txt file:
When I read the above data in snaplogic, the format is:
Tried with $.merge(), GroupByN, CSV parse (contain...
Hi Team,
I was using the Math.round() but was wondering if we can decide on the decimal digits for the rounding.
For example, number = 3.14125252
Desired output = 3.14
With Math.round(), output is 3.
Any suggestions on how to use the native Round(num...
Hi Team,
How can we read data from tsv file? I have tried using CSV and Fixed Width Parser but no luck thus far.
Thanking in advance for your help.
Regards,
Darsh
Hi Team,
I’m having 2 separate excel files; one containing the headers ONLY and the other one having the actual data. How can I MERGE these 2 files into a single entity so that further transformations can be applied and eventually sent to downstream ...
@koryknick - CPU memory consumption as well as time taken to validate/execute the pipeline is pretty much the same with "abc", "xyz"].filter(x=> $txt.contains(x)).length >=1 as well as using 2 filter snaps.There have been instances where using 2 filt...
Thank you @koryknick and @Abhishek_Soni37 for your insights, I will try both of them and thank you @koryknick for the additional insights. I will definitely test this out using expression library. Regards,Darsh
@siwadon - We can easily use 2 filter snaps; one will have the string as $ID.contains (xyz) and the other filter snap as $ID.contains (abc) however if I have to filter multiple values where .contains() can be helpful, how can we do that effectively?T...