myui opened a new pull request #225: [HIVEMALL-289] Add str_contain(string str, 
array<string> match, boolean or=true) UDF
URL: https://github.com/apache/incubator-hivemall/pull/225
 
 
   ## What changes were proposed in this pull request?
   
   Add str_contain(string str, array<string> match, boolean or=true) UDF
   
   ## What type of PR is it?
   
   Feature
   
   ## What is the Jira issue?
   
   https://issues.apache.org/jira/browse/HIVEMALL-289
   
   ## How was this patch tested?
   
   manual tests on EMR
   
   ## How to use this feature?
   
   ```sql
   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, true, false
   ```
   
   ## Checklist
   
   - [x] Did you apply source code formatter, i.e., `./bin/format_code.sh`, for 
your commit?
   - [x] Did you run system tests on Hive (or Spark)?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to