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

ASF subversion and git services commented on NIFI-7805:
-------------------------------------------------------

Commit 800655c938d7dea24923d499422765dd079ca098 in nifi's branch 
refs/heads/main from Peter Wicks
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=800655c ]

NIFI-7805 ResultSetRecordSet can't generate a schema if first row contains NULL 
Decimal

Signed-off-by: Pierre Villard <[email protected]>

This closes #4532.


> ResultSetRecordSet Breaks if First Row Decimal Value is NULL
> ------------------------------------------------------------
>
>                 Key: NIFI-7805
>                 URL: https://issues.apache.org/jira/browse/NIFI-7805
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.12.0
>            Reporter: Peter Wicks
>            Assignee: Peter Wicks
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Changes in NIFI-7369 caused a breaking change in how Decimal values are 
> converted into schemas in ResultSetRecordSet.
> The code tries to read the scale and precision values, but reads them from 
> the value in the first row returned, rather than from the ResultSetMetadata.  
> If the value in the first row is NULL, than it's scale and precision cannot 
> be read and schema creation fails.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to