Repository navigation
Add hiding secrets in EXPLAIN - #72025
Conversation
|
This is an automated comment for commit 8c8b3cc with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
| if (!getContext()->getSettingsRef()[Setting::format_display_secrets_in_show_and_select]) | ||
| format_settings.show_secrets = false; |
There was a problem hiding this comment.
What's default for show_secrets? Can we just do like that?
| if (!getContext()->getSettingsRef()[Setting::format_display_secrets_in_show_and_select]) | |
| format_settings.show_secrets = false; | |
| format_settings.show_secrets = getContext()->getSettingsRef()[Setting::format_display_secrets_in_show_and_select]; |
| namespace | ||
| { |
There was a problem hiding this comment.
Why it's in global namespace (instead of anonymous in side DB, for example ?)
There was a problem hiding this comment.
we don't need these templates in global namespace, we only need instantiations FunctionSecretArgumentsFinderTreeNode and TableFunctionSecretArgumentsFinderTreeNode
and I made functions inline to prevent bloating... I guess...
There was a problem hiding this comment.
well, anyway clang tidy doesn't allow anonymous namespace in a header :)
will fix
|
Hi @yakov-olkhovskiy @vdimir — while reviewing this PR I found the following:
Happy to discuss — close anything that's wrong or already addressed. |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Hide secrets in
EXPLAIN QUERY TREEcloses #69571
CI Settings (Only check the boxes if you know what you are doing):