use of io.trino.sql.analyzer.QueryExplainerFactory in project trino by trinodb.
the class LocalQueryRunner method getQueryExplainer.
@Override
public QueryExplainer getQueryExplainer() {
QueryExplainerFactory queryExplainerFactory = createQueryExplainerFactory(getPlanOptimizers(true));
AnalyzerFactory analyzerFactory = createAnalyzerFactory(queryExplainerFactory);
return queryExplainerFactory.createQueryExplainer(analyzerFactory);
}
Aggregations