presto-benchmark-driver/src/main/java/io/prestosql/benchmark/driver/BenchmarkResultsPrinter.java/BenchmarkResultsPrinter/getSelectedQueryTagNames
class BenchmarkResultsPrinter:    private static List<String> getSelectedQueryTagNames(Iterable<Suite> suites, Iterable<BenchmarkQuery> queries)
    {
        SortedSet<String> tags = new TreeSet<>();
        for (Suite suite : suites) {
            for (BenchmarkQuery query : suite.selectQueries(queries)) {
                tags.addAll(query.getTags().keySet());
            }

            for (RegexTemplate regexTemplate : suite.getSchemaNameTemplates()) {
                tags.addAll(regexTemplate.getFieldNames());
            }
        }
        return ImmutableList.copyOf(tags);
    }