Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/24123 )
Change subject: IMPALA-14796: Show effective runtime filter targets in profile ...................................................................... Patch Set 9: (3 comments) Thanks for the updates! The changes to use std::string_view look great. Just one minor optimization nit and a quick follow-up thought on test placement. Otherwise, everything looks good to me! http://gerrit.cloudera.org:8080/#/c/24123/4/be/src/runtime/coordinator.cc File be/src/runtime/coordinator.cc: http://gerrit.cloudera.org:8080/#/c/24123/4/be/src/runtime/coordinator.cc@794 PS4, Line 794: > We are actually tracking the scan node ids since Runtime Filters are only a Oh, that makes perfect sense! Thanks for clarifying the tree structure. http://gerrit.cloudera.org:8080/#/c/24123/9/be/src/runtime/coordinator.cc File be/src/runtime/coordinator.cc: http://gerrit.cloudera.org:8080/#/c/24123/9/be/src/runtime/coordinator.cc@800 PS9, Line 800: vector<std::string_view> fields; Thank you for moving to std::string_view and std::from_chars! One minor optimization regarding vector<std::string_view> fields, Since fields is not used after the recursive find_effective_filters(child) calls, would it be better to declare vector<std::string_view> fields; outside the lambda and capture it by reference, and simply call fields.clear(); at the beginning of the lambda.? Just to reuse the vector's capacity across the entire traversal... http://gerrit.cloudera.org:8080/#/c/24123/4/tests/custom_cluster/test_runtime_profile.py File tests/custom_cluster/test_runtime_profile.py: http://gerrit.cloudera.org:8080/#/c/24123/4/tests/custom_cluster/test_runtime_profile.py@54 PS4, Line 54: test_tpch_q5_final_filter_table > tests/query_test/test_runtime_filters.py is in e2e tests where we can't cus Got it, thanks for explaining the limitations with e2e startup flags and the custom-cluster table format guarantees. Though I would still prefer if it was part of a new or other custom cluster test, as this seems exclusively to verify the runtime profile generation itself and not to verify certain parts of the profile. -- To view, visit http://gerrit.cloudera.org:8080/24123 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Iccf4b87ac4579a70273f3306ec7b58850f06b17c Gerrit-Change-Number: 24123 Gerrit-PatchSet: 9 Gerrit-Owner: Quanlong Huang <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Surya Hebbar <[email protected]> Gerrit-Comment-Date: Wed, 29 Apr 2026 09:39:21 +0000 Gerrit-HasComments: Yes
