Skip to content

fix: copy sheet-level read params to sheet holder - #1052

Merged
delei merged 2 commits into
apache:mainfrom
nkuprins:fix/sheet-level-read-parameters
Aug 29, 2026
Merged

fix: copy sheet-level read params to sheet holder#1052
delei merged 2 commits into
apache:mainfrom
nkuprins:fix/sheet-level-read-parameters

Conversation

@nkuprins

Copy link
Copy Markdown
Contributor

Closed: #1051

Purpose of the pull request

ReadSheet.copyBasicParameter copied 12 of the 15 read parameters - locale, useScientificFormat and filedCacheLocation were missing, so a value set after .sheet(...) was dropped and the workbook-level value was silently applied instead

What's changed?

This adds the three missing copies, so all three now behave like autoTrim, autoStrip, use1904windowing and headRowNumber, which were already copied.

Checklist

  • I have read the Contributor Guide.
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

nkuprins and others added 2 commits August 27, 2026 22:43
locale, useScientificFormat and filedCacheLocation were not carried
from the parameter sheet to the actual sheet, so setting them on the
sheet builder silently fell back to the workbook-level value.

@delei delei left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@delei
delei merged commit 0aa7922 into apache:main Aug 29, 2026
9 checks passed
@nkuprins
nkuprins deleted the fix/sheet-level-read-parameters branch August 29, 2026 14:45
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.

[Bug] Sheet-level locale(), useScientificFormat() and filedCacheLocation() are silently ignored when reading

2 participants