Hi!
I have a data in table that need to be exported into different files, based on value in "category" field.
The number of distinct values may be dynamic (e.g. cannot use tMap component and hard-code the values).
File name will include the category string.
Columns:
ID | VALUE1 | VALUE2 | CATEGORY
1 abc abc A
2 abc xyz B
3 abc abc A
According to example above, 2 files should be created , e.d. /data/file_A.csv, /data/file_B.csv
Any suggestions?
Thanks!
Thank you.
The link by xdshi is useful, however it implies that the large table with data will be selected several times, for each distinct value in "category" field. Which is very not effective.