You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metron.apache.org by ottobackwards <gi...@git.apache.org> on 2016/10/06 18:13:37 UTC

[GitHub] incubator-metron issue #296: METRON-439: Stellar : IS_EMPTY(host) throws exc...

Github user ottobackwards commented on the issue:

    https://github.com/apache/incubator-metron/pull/296
  
    I'm working on making LENGTH work like IS_EMPTY.  I can't get either one to work as both are failing validation.  There is no StellarTest for IS_EMPTY ( I have added one to check if it is just my code that is failing ).  Can you one and try it there an make sure it works all the way through the Stellar parse and variable resolve?
    ParseException: Unable to parse IS_EMPTY(foo): Unable to execute: IS_EMPTY expects a collection or a string
    
    This is when calling with
    `String query = "IS_EMPTY(foo);
     Asser.assertEquals(true,run(query,ImmutableMap.of("foo",""));
    `


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---