Skip to content

Commit

Permalink
[BugFix] Causing index out of bounds (StarRocks#373)
Browse files Browse the repository at this point in the history
Signed-off-by: kino <kinoxyz1@gmail.com>
  • Loading branch information
kinoxyz1 committed Jul 15, 2024
1 parent cc8689d commit 51cc562
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void init(List<ArrowFieldConverter> fieldConverters) throws IOException {
for (int i = 0; i < rowCountOfBatch; i ++) {
sourceFlinkRows.add(new GenericRowData(this.selectedColumns.length));
}
for (int i = 0; i < fieldVectors.size(); i++) {
for (int i = 0; i < selectedColumns.length; i++) {
FieldVector fieldVector = fieldVectors.get(i);
ArrowFieldConverter converter = fieldConverters.get(i);
for (int rowIndex = 0; rowIndex < rowCountOfBatch; rowIndex++) {
Expand Down

0 comments on commit 51cc562

Please sign in to comment.