[ https://issues.apache.org/jira/browse/DATAFU-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228024#comment-14228024 ]
Yiqun Hu commented on DATAFU-80: -------------------------------- @Hayes, agree with your suggestion that if there is only one tuple passed in, then we iterate through the values. If multiple tuples are passed in, then we assume that they want to match against tuples. Let me change according to it and add unit test as well. Then I will update the patch an open a review board. > Enahnce InUDF to support tuple collection from String and Add Java > Compatibility for DataFu-Pig > ----------------------------------------------------------------------------------------------- > > Key: DATAFU-80 > URL: https://issues.apache.org/jira/browse/DATAFU-80 > Project: DataFu > Issue Type: Improvement > Affects Versions: 1.3.0 > Environment: Mac OS X Yosemite > Reporter: Yiqun Hu > Priority: Minor > Labels: features > Fix For: 1.3.0 > > Attachments: DATAFU-80.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > * Enahnce InUDF to support tuple collection from String > In many of our application, we need the IN operator for FILTER to operation > on a string representing multiple values e.g. 'AU,SG,HK' for a country list. > So we need IN operation to support something like > FILTER users BY IN(country, STRSPLIT('$country_list',',')) > where the value of $country_list is 'AU,SG,HK' passed as input parameter. > I found this one is generally useful for many application. so send the minor > enhancement about it. > * JAVA Compatibility for DataFu-Pig > Different JVM version can be used to build DataFu, but the generated jar > without java compatibility support cannot run on the platform using different > version of JVM. So add java compatibility suport in build.gradle. -- This message was sent by Atlassian JIRA (v6.3.4#6332)