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

Joseph Witt commented on NIFI-1522:
-----------------------------------

[~jskora] Understood. So I think Oleg articulated a dev-centric (and valid 
view).  And I believe you and Mike have presented a user centric view 
consistent with current approach in NiFi.  I believe what I'm looking to help 
find is if there is a middle ground that is workable.  If we take the view that 
in the end expression of time durations should explicitly include the period 
and unit then we have a good principle to work from.  Our current model 
requires the user to specify both explicitly.  For user experience items (not 
config files at this time) we can always append 'ms' when the user has not 
selected something.  In a way I see this as a form of 'auto completion'.  This 
I feel covers both perspectives.

Do you agree?

> Period and Unit time expressions should default to milliseconds
> ---------------------------------------------------------------
>
>                 Key: NIFI-1522
>                 URL: https://issues.apache.org/jira/browse/NIFI-1522
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joseph Witt
>            Assignee: Oleg Zhurakousky
>             Fix For: 0.6.0
>
>
> Discussion on Github about our current support for period and unit 
> expressions for time 
> https://github.com/apache/nifi/pull/210#discussion_r53167209
> We should support that if a unit of time is not specified that the period is 
> assumed to be in milliseconds.



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

Reply via email to