You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Nick Allen (JIRA)" <ji...@apache.org> on 2016/08/30 16:41:20 UTC
[jira] [Created] (METRON-399) Stellar Date Functions Should Default
to Current Time
Nick Allen created METRON-399:
---------------------------------
Summary: 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
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)