Skip to content
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

[Bug]: Microsoft Excel Writer action: Auto Size Columns function is not working #4272

Closed
mmoz77 opened this issue Sep 3, 2024 · 3 comments
Closed
Assignees
Milestone

Comments

@mmoz77
Copy link

mmoz77 commented Sep 3, 2024

Apache Hop version?

2.9.0

Java version?

11

Operating system

Windows

What happened?

Using Microsoft Excel Writer action, I have noticed that the Auto Size Columns function is not working.
I've checked the option Auto Size Columns in the Content tab (first image), but the excel output doesn't autosize columns (second one).
The same job in Pentaho produces an autosized excel sheet.
image
image

Issue Priority

Priority: 3

Issue Component

Component: Actions, Component: Transforms

@nadment
Copy link
Contributor

nadment commented Sep 3, 2024

We can try to upgrade Apache POI 5.2.4 to 5.3.0 because of the bug below:
https://bz.apache.org/bugzilla/show_bug.cgi?id=68094

@hansva
Copy link
Contributor

hansva commented Sep 4, 2024

.take-issue

@github-actions github-actions bot added this to the 2.10 milestone Sep 4, 2024
@hansva
Copy link
Contributor

hansva commented Sep 4, 2024

I cannot reproduce the issue, might be because I am not on Windows.
After reading apache/poi#541 the update should fix the widths in most cases but there are still some edge cases.

@hansva hansva closed this as completed in 450e128 Sep 4, 2024
hansva added a commit that referenced this issue Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants