GitHub user cestella opened a pull request: https://github.com/apache/incubator-metron/pull/416
METRON-656: Make Stellar 'in' closer to functioning like python We have an `in` operator in stellar, but it could be much better. This should bring it at parity with the `in` operator in python: * `in` should support string contains e.g. `'foo' in 'foobar'` * `in` should support Collection contains e.g. `'foo' in [ 'foo', 'bar' ]`. Legacy was to only support lists * `in` should support map contains e.g. `'foo' in { 'foo' : 5 }` You can merge this pull request into a Git repository by running: $ git pull https://github.com/cestella/incubator-metron METRON-656 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-metron/pull/416.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #416 ---- commit 98d9b948f052eb5614d58d2900b898fb45fbf04f Author: cstella <ceste...@gmail.com> Date: 2017-01-13T17:05:51Z METRON-656: Add String Contains to Stellar commit 931589ef3e27a80ee7f94147212124658d4c75db Author: cstella <ceste...@gmail.com> Date: 2017-01-13T17:56:06Z METRON-656: Make Stellar 'in' closer to functioning like python ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---