[ 
https://issues.apache.org/jira/browse/METRON-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15735148#comment-15735148
 ] 

ASF GitHub Bot commented on METRON-616:
---------------------------------------

GitHub user jjmeyer0 opened a pull request:

    https://github.com/apache/incubator-metron/pull/392

    METRON-616: Added support for double and long literals in Stellar.

    Added support for double and long literals in Stellar. The double and long 
literals are based on java's longs/doubles. However, octal, binary, and 
hexadecimal formats were not implemented. Int literals were also updated to not 
allow numbers such as 0001, 009, etc.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jjmeyer0/incubator-metron METRON-616

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/392.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 #392
    
----
commit f81411bfafc747aaa9ca1833fcb942e43970e310
Author: JJ <[email protected]>
Date:   2016-12-09T11:29:16Z

    METRON-616: Added support for double and long literals in Stellar. The 
double and long literals are based on java's longs/doubles. However, octal, 
binary, and hexadecimal formats were not implemented.

commit e806125c38703cf186898353fd0d73a2a08a0b8b
Author: JJ <[email protected]>
Date:   2016-12-09T11:58:51Z

    Added license to new files.

----


> Add Support in Stellar for Long and Float Literals
> --------------------------------------------------
>
>                 Key: METRON-616
>                 URL: https://issues.apache.org/jira/browse/METRON-616
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Josh Meyer
>
> Currently Stellar only supports literals for doubles and integers. However, 
> it is possible for functions to return longs and floats. An example, are the 
> timestamp functions. These will return a long. It would be useful for a 
> Stellar user to also use Java style floats and longs (eg. 3L, 3F, 3.3f, 
> etc.). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to