[jira] [Updated] (NIFI-11860) Erroneously set decimalScale when resultSetScale is 0

2023-08-14 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-11860:

Fix Version/s: 1.23.1

> Erroneously set decimalScale when resultSetScale is 0
> -
>
> Key: NIFI-11860
> URL: https://issues.apache.org/jira/browse/NIFI-11860
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Core Framework
>Reporter: Tamas Neumer
>Assignee: Tamas Neumer
>Priority: Minor
> Fix For: 2.0.0, 1.24.0, 1.23.1
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Hi,
> In the 
> [ResultSetRecordSet|https://github.com/apache/nifi/blob/a61add22c2507025a901e9ba753b3a6eb976d7e1/nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/ResultSetRecordSet.java#L328]
>  if the resultScale is 0, then the decimal scale is set to the defaultScale. 
> This however is inconsistent with the [JDBC Common's 
> behavior|https://github.com/apache/nifi/commit/4fde9648dd8ec621ebcdf1bfd0b80786a0ff68da#diff-18c3d769d6220682bdc35a1c3136aea9ff74d323610c992daa22f7689ed3482dR585].
>  
> We believe that in the ResultSetRecordSet the same >= should be used.
>  
> BR,
> Tamas
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11860) Erroneously set decimalScale when resultSetScale is 0

2023-08-02 Thread Matt Burgess (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Burgess updated NIFI-11860:

Fix Version/s: 2.0.0
   1.24.0
   (was: 1.latest)
   (was: 2.latest)
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> Erroneously set decimalScale when resultSetScale is 0
> -
>
> Key: NIFI-11860
> URL: https://issues.apache.org/jira/browse/NIFI-11860
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Core Framework
>Reporter: Tamas Neumer
>Assignee: Tamas Neumer
>Priority: Minor
> Fix For: 2.0.0, 1.24.0
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Hi,
> In the 
> [ResultSetRecordSet|https://github.com/apache/nifi/blob/a61add22c2507025a901e9ba753b3a6eb976d7e1/nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/ResultSetRecordSet.java#L328]
>  if the resultScale is 0, then the decimal scale is set to the defaultScale. 
> This however is inconsistent with the [JDBC Common's 
> behavior|https://github.com/apache/nifi/commit/4fde9648dd8ec621ebcdf1bfd0b80786a0ff68da#diff-18c3d769d6220682bdc35a1c3136aea9ff74d323610c992daa22f7689ed3482dR585].
>  
> We believe that in the ResultSetRecordSet the same >= should be used.
>  
> BR,
> Tamas
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11860) Erroneously set decimalScale when resultSetScale is 0

2023-08-02 Thread Matt Burgess (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Burgess updated NIFI-11860:

Fix Version/s: 1.latest
   2.latest

> Erroneously set decimalScale when resultSetScale is 0
> -
>
> Key: NIFI-11860
> URL: https://issues.apache.org/jira/browse/NIFI-11860
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Core Framework
>Reporter: Tamas Neumer
>Assignee: Tamas Neumer
>Priority: Minor
> Fix For: 1.latest, 2.latest
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hi,
> In the 
> [ResultSetRecordSet|https://github.com/apache/nifi/blob/a61add22c2507025a901e9ba753b3a6eb976d7e1/nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/ResultSetRecordSet.java#L328]
>  if the resultScale is 0, then the decimal scale is set to the defaultScale. 
> This however is inconsistent with the [JDBC Common's 
> behavior|https://github.com/apache/nifi/commit/4fde9648dd8ec621ebcdf1bfd0b80786a0ff68da#diff-18c3d769d6220682bdc35a1c3136aea9ff74d323610c992daa22f7689ed3482dR585].
>  
> We believe that in the ResultSetRecordSet the same >= should be used.
>  
> BR,
> Tamas
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11860) Erroneously set decimalScale when resultSetScale is 0

2023-08-01 Thread Matt Burgess (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Burgess updated NIFI-11860:

Affects Version/s: (was: 1.22.0)
   Status: Patch Available  (was: Open)

> Erroneously set decimalScale when resultSetScale is 0
> -
>
> Key: NIFI-11860
> URL: https://issues.apache.org/jira/browse/NIFI-11860
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Core Framework
>Reporter: Tamas Neumer
>Assignee: Tamas Neumer
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hi,
> In the 
> [ResultSetRecordSet|https://github.com/apache/nifi/blob/a61add22c2507025a901e9ba753b3a6eb976d7e1/nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/ResultSetRecordSet.java#L328]
>  if the resultScale is 0, then the decimal scale is set to the defaultScale. 
> This however is inconsistent with the [JDBC Common's 
> behavior|https://github.com/apache/nifi/commit/4fde9648dd8ec621ebcdf1bfd0b80786a0ff68da#diff-18c3d769d6220682bdc35a1c3136aea9ff74d323610c992daa22f7689ed3482dR585].
>  
> We believe that in the ResultSetRecordSet the same >= should be used.
>  
> BR,
> Tamas
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)