Skip to content
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

sql: add builtin to request statement bundles #13828

Open
cockroach-teamcity opened this issue May 7, 2022 · 1 comment
Open

sql: add builtin to request statement bundles #13828

cockroach-teamcity opened this issue May 7, 2022 · 1 comment

Comments

@cockroach-teamcity
Copy link
Member

Related PR: cockroachdb/cockroach#79693
Commit: cockroachdb/cockroach@ce606f5


Release note (sql change): new crdb_internal.request_statement_bundle builtin
allows statement bundle being requested from SQL CLI. The new builtin takes
three parameters:

  • statement fingerprint text
  • minimum execution latency for the statement
  • length of duration the statement bundle request will stay valid for.
    VIEWACTIVITY or ADMIN role option is required to use this builtin. If user has
    VIEWACTIVITYREDACTED role option, user is not allowed to use this builtin.
@rytaft
Copy link
Contributor

rytaft commented Jun 30, 2023

cc @taroface this recently came up in a customer issue

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

No branches or pull requests

3 participants