Skip to content

feat(csharp/src/Apache.Arrow.Adbc): ensure tracing redacts PII #3157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

birschick-bq
Copy link
Contributor

Creates a wrapper class to the Activity class such that values traced will, by default, be redacted.

To ensure the value is not redacted, the developer needs to change the isPii flag to false when instrumenting tracing.

Likewise, the TraceActivity methods will by default mark any exception message as PII. Developers can use the exceptionIsPii set to false to change the behavior.

The RedactedValue structure includes the GetUnredactedValue method for listeners/exporters that can safely handle the unredacted PII.

@github-actions github-actions bot added this to the ADBC Libraries 20 milestone Jul 14, 2025
@birschick-bq birschick-bq changed the title feat(charp/src/Apache.Arrow.Adbc): ensure tracing redacts PII feat(csharp/src/Apache.Arrow.Adbc): ensure tracing redacts PII Jul 14, 2025
@birschick-bq birschick-bq requested a review from ryan-syed July 16, 2025 20:05
@birschick-bq
Copy link
Contributor Author

@CurtHagenlocher Let me know if you have any comments or suggestion for this PR, when you have a chance. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants