rdblue opened a new pull request, #4672: URL: https://github.com/apache/iceberg/pull/4672
This adds an expression sanitizer and sanitizes filters logged by table scans. This is to avoid leaking IDs and other sensitive information in logs. Literals are sanitized using the following rules: * Integers and longs are converted to `(N-digit-int)`, where `N` is the number of digits in the number * Floats and doubles are converted to `(N-digit-float)`, where N is the number of digits before the decimal point * Dates, times, and timestamps are converted to `(date)`, `(time)`, or `(timestamp)` * All other types are hashed to produce `(hash-%08h)` from the string representation The result for string literals matches the result after the literals are bound and converted. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
