Skip to content

Commit

Permalink
finos#989 bug fix to use row count for limiting ignite query results
Browse files Browse the repository at this point in the history
  • Loading branch information
naleeha authored and rumakt committed Feb 15, 2024
1 parent 3b2db0f commit b19c6ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class IgniteOrderDataProvider(final val igniteStore: IgniteOrderStore)(implicit

val startIndex = Math.max(range.from - extraRowsCount, 0)
val endIndex = range.to + extraRowsCount
val rowCount = if (startIndex > endIndex) endIndex - startIndex else 1
val rowCount = if (endIndex > startIndex) endIndex - startIndex else 1

internalTable.setRange(VirtualizedRange(startIndex, endIndex))

Expand Down

0 comments on commit b19c6ec

Please sign in to comment.