Hello Yida Wu, Abhishek Rawat, Jason Fehr, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24282
to look at the new patch set (#11).
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
---
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,387 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/82/24282/11
--
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: newpatchset
Gerrit-Change-Id: If0c5b4911a64888f319f212155df6e08c1800b32
Gerrit-Change-Number: 24282
Gerrit-PatchSet: 11
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]>