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: (3 comments) http://gerrit.cloudera.org:8080/#/c/25107/3/bin/run-workload.py File bin/run-workload.py: http://gerrit.cloudera.org:8080/#/c/25107/3/bin/run-workload.py@179 PS3, Line 179: if options.num_clients > 1: > This seems the opposite of the comment Oops, done 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={}) > How will the file name look at this point? Based on claud profiles contain You're right, it isn't working. I did a small test, and filenames that don't overlap will get output like: Only in profile_a: TPCDS-Q_COUNT_OPTIMIZED_iter002.txt Only in profile_b: TPCDS-Q_COUNT_OPTIMIZED_iter003.txt I haven't used this profile diff, but we would need to change the file names to make it work again. I'll look into it. 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"]): > based on claude this will break when --table_formats has multiple values - I think our current logic would not preserve profiles for both table formats in that case (one would overwrite the other). I'm going to move this logic around to make it more testable, but I'm also going to think about dropping multiple table format support for bin/run-workload.py. -- 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: Mon, 19 Oct 2026 22:32:19 +0000 Gerrit-HasComments: Yes
