String list cannot be resolved as a variable in Java snippet node

Hello everyone,

I have two columns as shown below, their type is List (Collection of: String)
image

and i would like to find the intersection between them using java snippet node, but i’m getting the following error when creating a variable for the the two columns.


image

The reason behind the error is not clear for me… i would appreciate your support.

Thanks.

Hey @JayR,

welcome to the forum :slight_smile: You can change the java type of the collection column from String to String Arrays

Best regards
Lars

6 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.