Skip to content

fix(push): deleted data points (NA) logging - #18

Open
EstebanMontandon wants to merge 2 commits into
mainfrom
fix_deleted_counts_log
Open

EstebanMontandon wants to merge 2 commits into
mainfrom
fix_deleted_counts_log

Conversation

@EstebanMontandon

Copy link
Copy Markdown
Collaborator

Small fix to separate the import summary counts between regular imports (data points) and data points to delete (value = NA).
The current code is logging a confusing message including the total number in the summary, example below:

2026-09-11 19:24:37,608 - INFO - Pushing 6 data points with NA values.
2026-09-11 19:24:37,782 - WARNING - 6 data points will be set to NA. Please check the last execution report for details.
2026-09-11 19:24:37,915 - WARNING - 1. ...
...
2026-09-11 19:24:37,915 - WARNING - 6. ...
2026-09-11 19:25:09,631 - INFO - 6 / 6 data points processed. Final summary: {'imported': 22515, 'updated': 397, 'ignored': 2930223, 'deleted': 0}
2026-09-11 19:25:09,789 - INFO - Data points delete summary: {'imported': 22515, 'updated': 397, 'ignored': 2930223, 'deleted': 0}

After the fix the messages should be separated between imported (normal points) and deleted points for clarity.
No further functional changes.

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.

1 participant