-
Notifications
You must be signed in to change notification settings - Fork 5k
[Fix-17281][alert] Fix The maximum length of cell contents (text) is 32767 characters #17283
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
Conversation
fix 17281
...ler-alert-email/src/main/java/org/apache/dolphinscheduler/plugin/alert/email/ExcelUtils.java
Outdated
Show resolved
Hide resolved
...ler-alert-email/src/main/java/org/apache/dolphinscheduler/plugin/alert/email/ExcelUtils.java
Outdated
Show resolved
Hide resolved
# Conflicts: # dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/ExcelUtilsTest.java
|
You should run |
|
@SbloodyS ./mvnw spotless:apply in my local, result is all success. My jdk in IDEA is openjdk20,is this the problem? |
JDK8 and JDK11 are supported right now. |
@SbloodyS okay,let's try again. |
|
@SbloodyS why the CI can't load my ExcelUtilsTest.java ? |
|
@SbloodyS I think this is a problem in dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/ExcelUtilsTest.java。Will I make another pull request to fix the testGenExcelFile() method? |
You should fix it in this PR since this is introduted by this. |
Then I understand that we should actually optimize the export function of sql nodes, not this alarm function. |
Yes, I think it’s reasonable to modify the SQL component. can I/we create a DSIP for this problem ?And this PR just focuses on fixing the alert issue? @SbloodyS |
You can create an improvement issue for a problem like this.
Yes. I found that we will display multiple fields separately. If we split the extra-long fields into columns, it will lead to field dislocation, so we should intercept the columns. Sorry for my mistaken. |
|
Yes. |
terminate long string
add long str test
fix format
...alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/ExcelUtilsTest.java
Outdated
Show resolved
Hide resolved
...alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/ExcelUtilsTest.java
Outdated
Show resolved
Hide resolved
...alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/ExcelUtilsTest.java
Outdated
Show resolved
Hide resolved
...alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/ExcelUtilsTest.java
Outdated
Show resolved
Hide resolved
|
SbloodyS
left a comment
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
ruanwenjun
left a comment
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
|
Awesome work, congrats on your first merged pull request! |
… exception in excel (apache#17283)
… exception in excel (apache#17283)



Purpose of the pull request
fix #17281
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(or)
Pull Request Notice
Pull Request Notice
If your pull request contains incompatible change, you should also add it to
docs/docs/en/guide/upgrade/incompatible.md