Skip to content

Conversation

chaudum
Copy link
Contributor

@chaudum chaudum commented Jun 4, 2025

What this PR does / why we need it:

If p.inputs[i].Read() returns a batch with 0 rows, getting the timestamp for the record would panic, because it would try to access the value of the timestamp column at position 0, which does not exist.

If `p.inputs[i].Read()` returns a batch with 0 rows, getting the
timestamp for the record would panic, because it would try to access the
value of the timestamp column at position 0, which does not exist.

Signed-off-by: Christian Haudum <[email protected]>
@chaudum chaudum requested a review from a team as a code owner June 4, 2025 08:29
Copy link
Contributor

@ashwanthgoli ashwanthgoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@chaudum chaudum merged commit dd68679 into main Jun 4, 2025
66 checks passed
@chaudum chaudum deleted the chaudum/fix-outofbounds branch June 4, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants