-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-6212] Fix IRInterpreterTest.testZShow() for R 4.0+ compatibility #5012
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
base: master
Are you sure you want to change the base?
Conversation
4c32c7e to
e5ac08b
Compare
|
Could you please update the PR title to be a complete sentence? This helps provide clearer context when browsing the commit or PR history. Thanks! |
Thank you for the review! I've updated the PR title to be a complete sentence as requested. |
|
@lee-ji-an I think we'd better add a test case for both environments using github actions. |
@jongyoul I agree that testing both R 3.x and R 4.x environments would provide better coverage. |
| - r-ggplot2 | ||
| - r-irkernel | ||
| - r-shiny | ||
| - r-googlevis No newline at end of file |
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.
Please add a newline at the end of this file.
ParkGyeongTae
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 👍
| assertEquals("<font color=red>Results are limited by 1 rows.</font>\n", | ||
| resultMessages.get(1).getData()); | ||
| } | ||
| } No newline at end of file |
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.
Please add a blank line at the end of this file.
| - r-ggplot2 | ||
| - r-irkernel | ||
| - r-shiny | ||
| - r-googlevis |
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.
Please add a blank line at the end of this file.
| - r-ggplot2 | ||
| - r-irkernel | ||
| - r-shiny | ||
| - r-googlevis |
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.
Please add a blank line at the end of this file.
What is this PR for?
This PR fixes the
IRInterpreterTest.testZShow()test failure caused by R 4.0+ default behavior change.The test was failing because R 4.0+ changed the default
stringsAsFactorsfromTRUEtoFALSE, causing the test to expect numeric factor levels but receive actual string values.What type of PR is it?
Bug Fix
Todos
What is the Jira issue?
How should this be tested?
./mvnw test -pl rlang -Dtest=IRInterpreterTest#testZShowScreenshots (if appropriate)
N/A
Questions: