[ https://issues.apache.org/jira/browse/HIVEMALL-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Makoto Yui closed HIVEMALL-289. ------------------------------- Resolution: Fixed > Add str_contain(string str, array<string> match, boolean or=true) UDF > --------------------------------------------------------------------- > > Key: HIVEMALL-289 > URL: https://issues.apache.org/jira/browse/HIVEMALL-289 > Project: Hivemall > Issue Type: New Feature > Affects Versions: 0.6.0 > Reporter: Makoto Yui > Assignee: Makoto Yui > Priority: Minor > Fix For: 0.6.2 > > > str_contain(string str, array<string> match, boolean and=false) > {code:java} > select > str_contains('There are apple and orange', array('apple')), > str_contains('There are apple and orange', array('apple', 'banana'), true), > str_contains('There are apple and orange', array('apple', 'banana'), false); > > true, false, true{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)