Skip to content

Facet in nested queries #30

@j4zzcat

Description

@j4zzcat

Hi

Add support for nested queries with facet.
For example, the following query which measures the p99 time for some internal process within our system, is rejected by the widget because of the use of facet in the inner query, although the outer query is in fact valid for the widget.

select 
  percentile(avg_processing_time_min, 99)
from(
  select 
    average(totango.account_updater.total_process_time.percentiles)/60000 as 'avg_processing_time_min' 
  from 
    Metric 
  where 
    env = 'prod' and 
    percentile = '99' and 
    source != 'Pixel' 
  facet type)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions