[
https://issues.apache.org/jira/browse/NIFI-3455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862401#comment-15862401
]
ASF GitHub Bot commented on NIFI-3455:
--------------------------------------
Github user pvillard31 commented on the issue:
https://github.com/apache/nifi/pull/1499
Hey @patricker,
It looks good to me, thanks for the PR. Could you fix the checkstyle
violations?
````
[WARNING]
src/test/java/org/apache/nifi/processors/standard/TestGenerateTableFetch.java[40:8]
(imports) UnusedImports: Unused import - java.sql.JDBCType.
[WARNING]
src/test/java/org/apache/nifi/processors/standard/TestGenerateTableFetch.java[41:8]
(imports) UnusedImports: Unused import - java.sql.PreparedStatement.
[WARNING]
src/test/java/org/apache/nifi/processors/standard/TestGenerateTableFetch.java[57]
(imports) AvoidStarImport: Using the '.*' form of import should be avoided -
org.mockito.Mockito.*.
````
Thanks.
> GenerateTableFetch fails for very large row counts
> --------------------------------------------------
>
> Key: NIFI-3455
> URL: https://issues.apache.org/jira/browse/NIFI-3455
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.2.0
> Reporter: Peter Wicks
> Assignee: Peter Wicks
> Priority: Minor
> Fix For: 1.2.0
>
>
> When retrieving the row count for the total number of rows to page over
> GenerateTableFetch gets the row count as an integer. In some cases the value
> returned is greater then the maximum value of Int32 causing a looping of the
> value, resulting in a negative number.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)