Quanlong Huang has posted comments on this change. ( http://gerrit.cloudera.org:8080/25211 )
Change subject: IMPALA-14941: Fix #Rows in Subplan nodes ...................................................................... Patch Set 5: (3 comments) Thanks for the quick review! http://gerrit.cloudera.org:8080/#/c/25211/4/tests/query_test/test_observability.py File tests/query_test/test_observability.py: http://gerrit.cloudera.org:8080/#/c/25211/4/tests/query_test/test_observability.py@1435 PS4, Line 1435: assert per_node_match is not None, \ > would moving the tests to TestObservability fit better instead of TestQuery Oops, done. http://gerrit.cloudera.org:8080/#/c/25211/4/tests/query_test/test_observability.py@1441 PS4, Line 1441: "CPU Info not found in Per Node Profiles section:\n{0}\n" \ > The new cases use a SUBPLAN whose input is a plain scan and the patch chang The test codes are simple here (e.g. assert unnest_rows == join_rows). To support more complex queries, maybe using the golden test file is easier. I'll address this in the next patch set. http://gerrit.cloudera.org:8080/#/c/25211/4/tests/query_test/test_observability.py@1461 PS4, Line 1461: count_str, cpu_info, profile) > The rows['num_rows'] > 0 check seems weak for nested subplans. The inner SU Nice finding! Added a predicate "id <= 2" so all rows have non-empty nested arrays. We want to verify #Rows of SubplanNodes is non-zero since without the fix they are 0. -- To view, visit http://gerrit.cloudera.org:8080/25211 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I95b7bcae782e15ff5563b3c385a9d5ee07d45e6c Gerrit-Change-Number: 25211 Gerrit-PatchSet: 5 Gerrit-Owner: Quanlong Huang <[email protected]> Gerrit-Reviewer: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Comment-Date: Tue, 27 Oct 2026 13:49:53 +0000 Gerrit-HasComments: Yes
