Skip to content

NIFI-2803 The pagination of GenerateTableFetch has a sort bug#1052

Closed
combineads wants to merge 1 commit intoapache:masterfrom
combineads:NIFI-2803
Closed

NIFI-2803 The pagination of GenerateTableFetch has a sort bug#1052
combineads wants to merge 1 commit intoapache:masterfrom
combineads:NIFI-2803

Conversation

@combineads
Copy link
Contributor

When data is coming to the ingested table, the pagination SQL needs the ORDER BY statement with maxValueClauses.
If maxValueClauses are not the primary keys, incoming data usually inserts using primary keys. So when ExecuteSQL executes, some data may be lost.

@mattyb149
Copy link
Contributor

Reviewing...

@mattyb149
Copy link
Contributor

This commit breaks some unit tests that check the SQL statement(s) being generated, I will fix the tests before merging. Otherwise +1 LGTM, merging to master, thanks much for your contribution!

@asfgit asfgit closed this in 8868235 Sep 26, 2016
trixpan pushed a commit to trixpan/nifi that referenced this pull request Sep 30, 2016
Signed-off-by: Matt Burgess <mattyb149@apache.org>

NIFI-2803: Updated unit tests for GenerateTableFetch

Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes apache#1052
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants