Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/24282 )
Change subject: IMPALA-14961: Query Profile Redaction ...................................................................... IMPALA-14961: Query Profile Redaction The query profile redaction component protects sensitive profile content by replacing user, host, IP, SQL, table, and column identifiers with deterministic aliases while preserving enough structure for analysis. Table and column identifiers are targeted for redaction if they appear in the select columns, where columns, join columns, and analyzed query sections of the profile. The component also provides a reverse unredaction path that restores aliases in a string back to original identifiers using the captured alias map. Tests added: query-profile-redaction-test.cc with golden-file coverage for a TPC-DS profile redaction output, validation of alias-based unredaction behavior, and negative tests ensuring non-JSON profile input is rejected for both redaction and unredaction paths. Code Generated-by: Cursor AI Change-Id: If0c5b4911a64888f319f212155df6e08c1800b32 Reviewed-on: http://gerrit.cloudera.org:8080/24282 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M be/src/service/CMakeLists.txt A be/src/service/query-profile-redaction-test.cc A be/src/service/query-profile-redaction.cc A be/src/service/query-profile-redaction.h A testdata/impala-profiles/query-profile-redaction-expected/tpcds_72_local_run_profile.redacted.json A testdata/impala-profiles/tpcds_72_local_run_profile.json 6 files changed, 108,460 insertions(+), 0 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/24282 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: If0c5b4911a64888f319f212155df6e08c1800b32 Gerrit-Change-Number: 24282 Gerrit-PatchSet: 19 Gerrit-Owner: Gokul Kolady <[email protected]> Gerrit-Reviewer: Abhishek Rawat <[email protected]> Gerrit-Reviewer: Gokul Kolady <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Yida Wu <[email protected]>
