You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For testing purposes we would love to know the set of GRANTs required for the query to be finished successfully (successfully == not receiving ACCESS_DENIED error).
Describe the solution you'd like
Add an additional field named checked_privileges of type Array(String) to the system.query_log. It will contain information like ['SELECT ON database.table', 'demangle ON *.*', ...].
P.S. Maybe it is worth to add a field required_privilege which will be non-empty in case when the query finished with an error ACCESS_DENIED. This is needed mostly not to parse the exception message rather than just executing a simple query.
The text was updated successfully, but these errors were encountered:
Use case
For testing purposes we would love to know the set of GRANTs required for the query to be finished successfully (successfully == not receiving ACCESS_DENIED error).
Describe the solution you'd like
Add an additional field named
checked_privileges
of typeArray(String)
to thesystem.query_log
. It will contain information like['SELECT ON database.table', 'demangle ON *.*', ...]
.P.S. Maybe it is worth to add a field
required_privilege
which will be non-empty in case when the query finished with an errorACCESS_DENIED
. This is needed mostly not to parse the exception message rather than just executing a simple query.The text was updated successfully, but these errors were encountered: