Github user jjmeyer0 commented on the issue:

    https://github.com/apache/incubator-metron/pull/390
  
    The reason I neglected longs and floats is because I didn't see the Stellar 
dsl having the ability to represent them. For example, the test below fails 
with a parse exception:
    
    `
      @Test
      public void testLongAddition() throws Exception {
        String query = "2147483650 + 2";
        Assert.assertEquals(2147483652L, run(query, new HashMap<>()));
      }
    `
    
    That being said it makes sense to still handle longs and floats, if Stellar 
will at some point. If not that, at the very least if this evaluator sees a 
long or float it should error out.
    
    Should I add support for longs/floats and then create a Jira for Stellar to 
add them? Or am I mistaken and Stellar already has support?
    
    
    Thanks for the feedback.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to