Skip to content

Fix Incorrect array size error when using column range reference to an empty sheet - #1346

Merged
sequba merged 14 commits into
developfrom
feature/issue-1147
Dec 19, 2023
Merged

sequba merged 14 commits into
developfrom
feature/issue-1147

Conversation

@sequba

@sequba sequba commented Dec 1, 2023 •

Copy link
Copy Markdown
Contributor

Context

Changes:

  • Stop throwing 'Incorrect array size' for all empty arrays
  • Make necessary adjustments to preserve the current behavior in certain situations

How did you test your changes?

Types of changes

  • Breaking change (a fix or a feature because of which an existing functionality doesn't work as expected anymore)
  • New feature or improvement (a non-breaking change that adds functionality)
  • Bug fix (a non-breaking change that fixes an issue)
  • Additional language file, or a change to an existing language file (translations)
  • Change to the documentation

Related issues:

Fixes #1147

Checklist:

  • I have reviewed the guidelines about Contributing to HyperFormula and I confirm that my code follows the code style of this project.
  • I have signed the Contributor License Agreement.
  • My change is compliant with the OpenDocument standard.
  • My change is compatible with Microsoft Excel.
  • My change is compatible with Google Sheets.
  • I described my changes in the CHANGELOG.md file.
  • My changes require a documentation update.
  • My changes require a migration guide.

@github-actions

github-actions Bot commented Dec 1, 2023 •

Copy link
Copy Markdown

Performance comparison of head (566d40d) vs base (afbdfe5)

                                     testName |   base |   head |  change
-------------------------------------------------------------------------
                                      Sheet A |  557.2 | 553.61 |  -0.64%
                                      Sheet B |  188.6 | 184.23 |  -2.32%
                                      Sheet T | 163.41 | 160.16 |  -1.99%
                                Column ranges | 572.08 | 568.43 |  -0.64%
Sheet A:  change value, add/remove row/column |     39 |     45 | +15.38%
 Sheet B: change value, add/remove row/column |    291 |    305 |  +4.81%
                   Column ranges - add column |    172 |    160 |  -6.98%
                Column ranges - without batch |    459 |    511 | +11.33%
                        Column ranges - batch |    213 |    100 | -53.05%

@sequba
sequba requested a review from evanSe December 2, 2023 10:46
@codecov

codecov Bot commented Dec 19, 2023

Copy link
Copy Markdown

Codecov Report

Merging #1346 (566d40d) into develop (c74bb21) will increase coverage by 0.00%.
Report is 2 commits behind head on develop.
The diff coverage is 95.23%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1346   +/-   ##
========================================
  Coverage    97.35%   97.36%           
========================================
  Files          169      169           
  Lines        14416    14423    +7     
  Branches      3016     3023    +7     
========================================
+ Hits         14035    14043    +8     
+ Misses         381      380    -1     
Files Coverage Δ
src/ArraySize.ts 98.21% <100.00%> (+1.88%) ⬆️
src/ArrayValue.ts 100.00% <100.00%> (ø)
src/HyperFormula.ts 99.59% <ø> (ø)
src/Operations.ts 98.90% <50.00%> (-0.18%) ⬇️

@sequba
sequba merged commit 896d501 into develop Dec 19, 2023
@sequba
sequba deleted the feature/issue-1147 branch December 19, 2023 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants