Hi, my scenario is like:
Map<String, HashSet<String>> B = new HashMap<String, HashSet<String>>();
Now, I have the following scripts in another Subjob:
select * from Table
where name in ('"+BMap.values()+"');
The bold portion has problems, anyone can advise? Thanks very much.
Solved! Go to Solution.
Thanks for the reply!
This is what my scripts look like:
where name in ('"+((String)globalMap.get("BMap.values()"))+"');
But that can't go through. Thanks again for your reply!
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema