udaan-com/snorql

Active queries metric not showing DDL queries in results

Closed this issue · 0 comments

Describe the bug
A clear and concise description of what the bug is.
The active queries performance metric doesn't show the DDL queries in the results.
To Reproduce
Steps to reproduce the behaviour:

  1. Execute any DDL operation.
  2. Run SqlMetricManager.getMetric('performance_activeQueries', ActiveQueryInput(metricPeriod='REAL_TIME'))
  3. Response doesn't contain DDL query.

Expected behavior
DDL is also active running query and should be included in the results.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.