Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/25107 )
Change subject: IMPALA-15555: Limit the number of profiles preserved by bin/single_node_perf_run.py ...................................................................... Patch Set 3: (2 comments) I'm breaking apart this change into other pieces. IMPALA-15546 will be done separately. http://gerrit.cloudera.org:8080/#/c/25107/3/bin/single_node_perf_run.py File bin/single_node_perf_run.py: http://gerrit.cloudera.org:8080/#/c/25107/3/bin/single_node_perf_run.py@217 PS3, Line 217: subprocess.run(["diff", "-u", a_subdir, b_subdir], stdout=f, text=True, env={}) > You're right, it isn't working. I did a small test, and filenames that don' I'm changing the algorithm to keep the first N rather than finding the min/max, etc. That's basically good enough for what we are doing and keeps the code simple. http://gerrit.cloudera.org:8080/#/c/25107/3/bin/single_node_perf_run.py@236 PS3, Line 236: groupby(data[workload], lambda x: x["query"]["name"]): > I think our current logic would not preserve profiles for both table format I'm reworking this code. I limited bin/run-workload.py to a single workload and table format. Then I also moved this logic to bin/run-workload.py (which lets it use the original data structures directly). -- To view, visit http://gerrit.cloudera.org:8080/25107 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I173121590ee8c5f5169977748ff84a53218cf50c Gerrit-Change-Number: 25107 Gerrit-PatchSet: 3 Gerrit-Owner: Joe McDonnell <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Comment-Date: Wed, 21 Oct 2026 04:54:14 +0000 Gerrit-HasComments: Yes
