-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update checkSheet GetTables error: index out of range #1692
Conversation
When the sheet does not start with table, an error will be reported when getting tables. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR. Could you add unit tests for this changes?
Could you please provide the test file that caused the panic? I will be very grateful |
Hi @tumbleweedd, I have already analytics and created a the special case workbook file can be reproduce this problem, but the fix in this changes will be cause the some cell value was missing, I think we need to made some change based on this. |
- Fix panic on read workbook with internal row element without r attribute - Update the unit tests
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1692 +/- ##
=======================================
Coverage 99.04% 99.04%
=======================================
Files 32 32
Lines 28385 28400 +15
=======================================
+ Hits 28115 28130 +15
Misses 179 179
Partials 91 91
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
- Update unit tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for your contribution. I have made some changes based on your branch. This feature will be released in the next version.
According to the benchmark report of v2.8.1, the fix slows down the get rows about 3 times, and memory using about 17 times. We need to fixed the performance impact later. |
Co-authored-by: chun.zhang2 <[email protected]> - This fix speed slowdown and memory usage increase base on the reverts commit 6220a79 - Fix panic on read workbook with internal row element without r attribute - Update the unit tests
PR Details
Description
Related Issue
Motivation and Context
How Has This Been Tested
Types of changes
Checklist