Skip to content

Ensure logs entries are integer during delta loading#221

Merged
RasmusSkytte merged 3 commits intomainfrom
fix/delta-loading-logger
Mar 3, 2026
Merged

Ensure logs entries are integer during delta loading#221
RasmusSkytte merged 3 commits intomainfrom
fix/delta-loading-logger

Conversation

@RasmusSkytte
Copy link
Copy Markdown
Contributor

@RasmusSkytte RasmusSkytte commented Mar 2, 2026

Intent

This PR fixes an issue identified by @LasseEngboChr when delta loading.

When counting updates during delta loading, the backend may return a data-type that gets mistranslated when writing to the log. In this case, the counts were returned as int64 which was incorrectly translated as a float when writing to the log.

Approach

Count data is forced to R integers before writing

Known issues

N/A

Checklist

  • The PR passes all local unit tests
  • I have documented any new features introduced
  • If the PR adds a new feature, please add an entry in NEWS.md
  • A reviewer is assigned to this PR

@RasmusSkytte RasmusSkytte self-assigned this Mar 2, 2026
@RasmusSkytte RasmusSkytte added the bug Something isn't working label Mar 2, 2026
@RasmusSkytte RasmusSkytte marked this pull request as ready for review March 3, 2026 08:25
Copy link
Copy Markdown
Contributor

@LasseEngboChr LasseEngboChr left a comment

Choose a reason for hiding this comment

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

All fine

@RasmusSkytte RasmusSkytte merged commit e6eac0b into main Mar 3, 2026
33 checks passed
@RasmusSkytte RasmusSkytte deleted the fix/delta-loading-logger branch March 3, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants