{
  "$schema": "https://docs.sqlparser.com/capabilities/v1/schema/dialect.schema.json",
  "dialect": "trino",
  "display_name": "Trino",
  "aliases": [],
  "product": "General SQL Parser",
  "edition": "java",
  "version": "4.1.11",
  "measured_at": "2026-08-10T14:47:38.366768857Z",
  "provenance": {
    "kind": "measured",
    "artifact_sha256": "71895b6e5ab0",
    "corpus_commit": "dcd6212a9",
    "corpus_files": 78,
    "methodology_url": "https://docs.sqlparser.com/reference/sql-syntax/#methodology"
  },
  "parse_coverage": {
    "kind": "measured",
    "note": "Pass rates are over GSP's documented-example corpus for this dialect, not a percentage of the entire SQL dialect.",
    "constructs": {"passed": 68, "total": 78},
    "statements": {"passed": 151, "total": 175},
    "statement_classes": {
      "select": {"constructs": {"passed": 20, "total": 21}, "statements": {"passed": 45, "total": 46}},
      "dml": {"constructs": {"passed": 3, "total": 3}, "statements": {"passed": 9, "total": 9}},
      "stored_procedures": {"constructs": {"passed": 1, "total": 1}, "statements": {"passed": 2, "total": 2}}
    }
  },
  "keywords": {"kind": "not_measured"},
  "docs_url": "https://docs.sqlparser.com/reference/sql-syntax/trino/",
  "constructs": [
    {"name": "ALTER SCHEMA", "category": "ALTER", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/alter-schema.html"},
    {"name": "ALTER TABLE", "category": "ALTER", "passed": 8, "total": 8, "source": "https://trino.io/docs/current/sql/alter-table.html"},
    {"name": "ALTER VIEW", "category": "ALTER", "passed": 0, "total": 2, "source": "https://trino.io/docs/current/sql/alter-view.html"},
    {"name": "ANALYZE", "category": "ANALYZE", "passed": 4, "total": 4, "source": "https://trino.io/docs/current/sql/analyze.html"},
    {"name": "CALL", "category": "CALL", "passed": 3, "total": 3, "source": "https://trino.io/docs/current/sql/call.html"},
    {"name": "COMMENT", "category": "COMMENT", "passed": 0, "total": 3, "source": "https://trino.io/docs/current/sql/comment.html"},
    {"name": "COMMIT", "category": "COMMIT", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/commit.html"},
    {"name": "CREATE FUNCTION", "category": "CREATE", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/create-function.html"},
    {"name": "CREATE MATERIALIZED VIEW", "category": "CREATE", "passed": 0, "total": 3, "source": "https://trino.io/docs/current/sql/create-materialized-view.html"},
    {"name": "CREATE ROLE", "category": "CREATE", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/create-role.html"},
    {"name": "CREATE SCHEMA", "category": "CREATE", "passed": 3, "total": 3, "source": "https://trino.io/docs/current/sql/create-schema.html"},
    {"name": "CREATE TABLE", "category": "CREATE", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/create-table.html"},
    {"name": "CREATE TABLE AS", "category": "CREATE", "passed": 4, "total": 4, "source": "https://trino.io/docs/current/sql/create-table-as.html"},
    {"name": "CREATE VIEW", "category": "CREATE", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/create-view.html"},
    {"name": "DEALLOCATE PREPARE", "category": "DEALLOCATE", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/deallocate-prepare.html"},
    {"name": "DELETE", "category": "DELETE", "passed": 3, "total": 3, "source": "https://trino.io/docs/current/sql/delete.html"},
    {"name": "DENY", "category": "DENY", "passed": 0, "total": 3, "source": "https://trino.io/docs/current/sql/deny.html"},
    {"name": "DESCRIBE", "category": "DESCRIBE", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/describe.html"},
    {"name": "DESCRIBE INPUT", "category": "DESCRIBE", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/describe-input.html"},
    {"name": "DESCRIBE OUTPUT", "category": "DESCRIBE", "passed": 3, "total": 3, "source": "https://trino.io/docs/current/sql/describe-output.html"},
    {"name": "DROP MATERIALIZED VIEW", "category": "DROP", "passed": 0, "total": 2, "source": "https://trino.io/docs/current/sql/drop-materialized-view.html"},
    {"name": "DROP ROLE", "category": "DROP", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/drop-role.html"},
    {"name": "DROP SCHEMA", "category": "DROP", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/drop-schema.html"},
    {"name": "DROP TABLE", "category": "DROP", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/drop-table.html"},
    {"name": "DROP VIEW", "category": "DROP", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/drop-view.html"},
    {"name": "EXECUTE", "category": "EXECUTE", "passed": 4, "total": 4, "source": "https://trino.io/docs/current/sql/execute.html"},
    {"name": "EXPLAIN", "category": "EXPLAIN", "passed": 4, "total": 4, "source": "https://trino.io/docs/current/sql/explain.html"},
    {"name": "EXPLAIN ANALYZE", "category": "EXPLAIN", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/explain-analyze.html"},
    {"name": "ARRAY Functions", "category": "FUNCTIONS", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/functions/array.html"},
    {"name": "JSON Functions", "category": "FUNCTIONS", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/functions/json.html"},
    {"name": "Window Functions", "category": "FUNCTIONS", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/functions/window.html"},
    {"name": "GRANT", "category": "GRANT", "passed": 3, "total": 3, "source": "https://trino.io/docs/current/sql/grant.html"},
    {"name": "GRANT ROLES", "category": "GRANT", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/grant-roles.html"},
    {"name": "INSERT", "category": "INSERT", "passed": 5, "total": 5, "source": "https://trino.io/docs/current/sql/insert.html"},
    {"name": "MERGE", "category": "MERGE", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/merge.html"},
    {"name": "PREPARE", "category": "PREPARE", "passed": 3, "total": 3, "source": "https://trino.io/docs/current/sql/prepare.html"},
    {"name": "REFRESH MATERIALIZED VIEW", "category": "REFRESH", "passed": 0, "total": 1, "source": "https://trino.io/docs/current/sql/refresh-materialized-view.html"},
    {"name": "RESET SESSION", "category": "RESET", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/reset-session.html"},
    {"name": "REVOKE", "category": "REVOKE", "passed": 3, "total": 3, "source": "https://trino.io/docs/current/sql/revoke.html"},
    {"name": "REVOKE ROLES", "category": "REVOKE", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/revoke-roles.html"},
    {"name": "ROLLBACK", "category": "ROLLBACK", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/rollback.html"},
    {"name": "MATCH_RECOGNIZE", "category": "SELECT", "passed": 0, "total": 1, "source": "https://trino.io/docs/current/sql/match-recognize.html"},
    {"name": "SELECT", "category": "SELECT", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT /JOINS/USING", "category": "SELECT", "passed": 4, "total": 4, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT /Scalar Subquery", "category": "SELECT", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT /WHERE EXISTS", "category": "SELECT", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT /WHERE IN", "category": "SELECT", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT CROSS JOIN", "category": "SELECT", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT GROUP BY Clause", "category": "SELECT", "passed": 3, "total": 3, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT HAVING Clause", "category": "SELECT", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT JOINS", "category": "SELECT", "passed": 3, "total": 3, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT LIMIT Clause", "category": "SELECT", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT OFFSET Clause", "category": "SELECT", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT TABLESAMPLE", "category": "SELECT", "passed": 3, "total": 3, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT UNION | INTERSECT | EXCEPT Clause", "category": "SELECT", "passed": 5, "total": 5, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT UNNEST", "category": "SELECT", "passed": 4, "total": 4, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT WITH Clause", "category": "SELECT", "passed": 4, "total": 4, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SELECT/JOINS/Qualifying Column Names", "category": "SELECT", "passed": 4, "total": 4, "source": "https://trino.io/docs/current/sql/select.html"},
    {"name": "SET ROLE", "category": "SET ROLE", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/set-role.html"},
    {"name": "SET SESSION", "category": "SET SESSION", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/set-session.html"},
    {"name": "SET TIME ZONE", "category": "SET TIME ZONE", "passed": 0, "total": 5, "source": "https://trino.io/docs/current/sql/set-time-zone.html"},
    {"name": "SHOW CATALOGS", "category": "SHOW", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/show-catalogs.html"},
    {"name": "SHOW COLUMNS", "category": "SHOW", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/show-columns.html"},
    {"name": "SHOW CREATE TABLE", "category": "SHOW", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/show-create-table.html"},
    {"name": "SHOW CREATE VIEW", "category": "SHOW", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/show-create-view.html"},
    {"name": "SHOW FUNCTIONS", "category": "SHOW", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/show-functions.html"},
    {"name": "SHOW GRANTS", "category": "SHOW", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/show-grants.html"},
    {"name": "SHOW ROLE GRANTS", "category": "SHOW", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/show-role-grants.html"},
    {"name": "SHOW ROLES", "category": "SHOW", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/show-roles.html"},
    {"name": "SHOW SCHEMAS", "category": "SHOW", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/show-schemas.html"},
    {"name": "SHOW SESSION", "category": "SHOW", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/show-session.html"},
    {"name": "SHOW STATS", "category": "SHOW", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/show-stats.html"},
    {"name": "SHOW TABLES", "category": "SHOW", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/show-tables.html"},
    {"name": "START TRANSACTION", "category": "START TRANSACTION", "passed": 5, "total": 5, "source": "https://trino.io/docs/current/sql/start-transaction.html"},
    {"name": "TRUNCATE TABLE", "category": "TRUNCATE", "passed": 0, "total": 1, "source": "https://trino.io/docs/current/sql/truncate.html"},
    {"name": "UPDATE", "category": "UPDATE", "passed": 0, "total": 3, "source": "https://trino.io/docs/current/sql/update.html"},
    {"name": "USE", "category": "USE", "passed": 2, "total": 2, "source": "https://trino.io/docs/current/sql/use.html"},
    {"name": "VALUES", "category": "VALUES", "passed": 1, "total": 1, "source": "https://trino.io/docs/current/sql/values.html"}
  ]
}
