minyk opened a new issue #1675:
URL: https://github.com/apache/incubator-kyuubi/issues/1675


   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Describe the feature
   
   We redact secret informations on UI with #1634. Do the same thing for 
SparkSQLEngine's log.
   
   ### Motivation
   
   Secret informations on log is dangerous on the production environment. 
Secret info should be redacted in some way.
   
   ### Describe the solution
   
   As Discussed in #1634's comments, move `redactedStatement` to 
`AbstractOperation` from `SparkOperation`. then logging with 
`redactedStatement` in `setState()`. 
   In this way, other engine's log is redacted too if it only override 
`redactedStatement` in `AbstractOperation`'s subclass.
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
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]


Reply via email to