So I think I answered why toInstant does not throw an exception when the
subject is negative. The reason I believe this is because Java's
java.time.Instant ofEpochMilli method takes negative numbers and will
return Instant objects from before the epoch.
On Fri, Feb 23, 2024 at 2:28 PM Dan S
I am working on NIFI-12756 to better understand when NIFI expressions can
throw exceptions. I have an attribute which is a negative number and I
thought calling toInstant would have thrown an
org.apache.nifi.attribute.expression.language.exception.AttributeExpressionLanguageException
but instead
Similar question is with a decimal number e.g. 1403620278642.00 when
calling toInstant on it it evaluates to 2014-06-24T14:31:18.642Z. Why does
it not throw an exception?
On Fri, Feb 23, 2024 at 12:48 PM Dan S wrote:
> I am working on NIFI-12756 to better understand when NIFI expressions can
>
For decimal I think I figured that the long value of the decimal is used
but I still have my question for a negative number.
On Fri, Feb 23, 2024 at 1:44 PM Dan S wrote:
> Similar question is with a decimal number e.g. 1403620278642.00 when
> calling toInstant on it it evaluates to