Skip to content

Conversation

@DJDuque
Copy link
Member

@DJDuque DJDuque commented Oct 6, 2024

The sort function does not mutate the input dataframe. Instead it just returns another dataframe with the sorted rows. So, when I was doing df.sort("...") I was just sorting and throwing away that df.

This was working OK, because the trg_scalers are already sorted by their timestamp. But, there is an edge case when the timestamp is null (there was an issue with an event at a lower level). In that case, the df is not actually sorted (nulls between actual timestamps).

@DJDuque DJDuque added this pull request to the merge queue Oct 6, 2024
Merged via the queue into main with commit 51b02aa Oct 6, 2024
7 checks passed
@DJDuque DJDuque deleted the fix_spilllog branch October 6, 2024 08:22
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