You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/12 13:24:22 UTC
[jira] [Commented] (METRON-399) Stellar Date Functions Should
Default to Current Time
[ https://issues.apache.org/jira/browse/METRON-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15484107#comment-15484107 ]
ASF GitHub Bot commented on METRON-399:
---------------------------------------
Github user cestella commented on the issue:
https://github.com/apache/incubator-metron/pull/237
+1, good stuff
> Stellar Date Functions Should Default to Current Time
> -----------------------------------------------------
>
> Key: METRON-399
> URL: https://issues.apache.org/jira/browse/METRON-399
> Project: Metron
> Issue Type: Improvement
> Reporter: Nick Allen
> Assignee: Nick Allen
> Labels: stellar
>
> The Stellar date functions expect an argument of a Long containing the epoch time in milliseconds. If no argument is supplied, a parse exception is thrown.
> {code}
> WEEK_OF_YEAR(timestamp)
> {code}
> This should be changed so that if no argument is supplied, the function assumes the current time.
> {code}
> WEEK_OF_YEAR()
> {code}
> If an argument is passed that is not valid, the function should continue to return null.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)