Closed jasonk000 closed 1 year ago
This allows prepared query views to specify the query type (sql/oql) when passing the query
There are no existing in-tree users of prepared query views.
Allows passing of Calcite queries directly to a prepared query view, such as follows for showing atlas/spectator metrics.
<el-tab-pane name="atlasMetrics" lazy> <span slot="label"> Atlas metrics </span> <div v-bind:style="{ 'height': '100%', 'width': resultDivWidth}"> <Query :file="file" queryType='sql' @outgoingRefsOfObj="outgoingRefsOfObj" @incomingRefsOfObj="incomingRefsOfObj" @outgoingRefsOfClass="outgoingRefsOfClass" @incomingRefsOfClass="incomingRefsOfClass" @pathToGCRootsOfObj="pathToGCRootsOfObj" @setSelectedObjectId="setSelectedObjectId" preparedQueryType='sql' preparedQuery='select m.name metric_name, count(*) metric_count from "com.netflix.spectator.api.DefaultId" m group by m.name order by metric_count desc' /> </div> </el-tab-pane>
This allows prepared query views to specify the query type (sql/oql) when passing the query
There are no existing in-tree users of prepared query views.
Allows passing of Calcite queries directly to a prepared query view, such as follows for showing atlas/spectator metrics.