Fix csv generate by limit#1615
Conversation
PR Summary
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1615 +/- ##
============================================
- Coverage 92.42% 92.36% -0.07%
+ Complexity 3358 3355 -3
============================================
Files 331 331
Lines 6618 6618
Branches 655 655
============================================
- Hits 6117 6113 -4
- Misses 346 347 +1
- Partials 155 158 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Fixed an issue in the CSV generation logic where an extra data row was being added. The output now contains the correct number of rows based on the input.
Changes:
Adjusted CSV generation to prevent adding an unnecessary row.
Added/updated tests to verify the correct number of rows.
Before:
CSV file had N + 1 rows instead of N
After:
CSV file has exactly N rows as expected