-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
GH-41201: [C++] Fix mistake in integration test. Explicitly cast std::string to avoid compiler interpreting char* -> bool #41202
Conversation
lidavidm
commented
Apr 15, 2024
•
edited by github-actions
bot
Loading
edited by github-actions
bot
- GitHub Issue: [CI][Release] Integration tests on source verification for almalinux and Ubuntu fail #41201
|
probably won't fix everything |
@github-actions crossbow submit verify-rc-source-integration-linux-* |
Revision: b13dfad Submitted crossbow builds: ursacomputing/crossbow @ actions-909eb84915 |
ARROW_ASSIGN_OR_RAISE(auto res4, client.GetSessionOptions({}, {})); | ||
if (res4.session_options != | ||
std::map<std::string, SessionOptionValue>{ | ||
{"bardouble", 456.0}, | ||
{"big_ol_string_list", "a,b,sea,dee, , ,geee,(づ。◕‿‿◕。)づ"}}) { | ||
{"big_ol_string_list", std::string("a,b,sea,dee, , ,geee,(づ。◕‿‿◕。)づ")}}) { |
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.
You're probably missing the "key_with_invalid_value" in line 856 above?
@github-actions crossbow submit verify-rc-source-integration-linux-* |
Revision: ca6161e Submitted crossbow builds: ursacomputing/crossbow @ actions-dbfd11ad88 |
Looks like this fixes things, minus some flakiness with NodeJS that should be unrelated. |
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.
+1
("..."
was processed as std::vector<std::string>>
not std::string
implicitly on these environments, right?)
It was implicitly treated as |
Thanks! I see! |
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.
The CI jobs are successful and the change looks good to me. Thanks @lidavidm for taking care of this one!
…:string to avoid compiler interpreting char* -> bool (#41202) * GitHub Issue: #41201 Authored-by: David Li <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
After merging your PR, Conbench analyzed the 7 benchmarking runs that have been run so far on merge-commit 3c37848. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 4 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…t std::string to avoid compiler interpreting char* -> bool (apache#41202) * GitHub Issue: apache#41201 Authored-by: David Li <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
…t std::string to avoid compiler interpreting char* -> bool (apache#41202) * GitHub Issue: apache#41201 Authored-by: David Li <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>