{
  "$schema": "https://docs.sqlparser.com/capabilities/v1/schema/dialect.schema.json",
  "dialect": "redshift",
  "display_name": "Redshift",
  "aliases": [],
  "product": "General SQL Parser",
  "edition": "java",
  "version": "4.1.10",
  "measured_at": "2026-08-08T14:54:59.213290587Z",
  "provenance": {
    "kind": "measured",
    "artifact_sha256": "a95d676aa0a9",
    "corpus_commit": "57f1830ac",
    "corpus_files": 90,
    "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": 88, "total": 90},
    "statements": {"passed": 148, "total": 150},
    "statement_classes": {
      "select": {"constructs": {"passed": 17, "total": 17}, "statements": {"passed": 22, "total": 22}},
      "dml": {"constructs": {"passed": 3, "total": 3}, "statements": {"passed": 6, "total": 6}},
      "stored_procedures": {"constructs": {"passed": 3, "total": 3}, "statements": {"passed": 3, "total": 3}}
    }
  },
  "keywords": {
    "kind": "measured",
    "measured_at": "2026-08-08T14:54:19Z",
    "total": 488,
    "allowed_as_identifier": 463,
    "context_specific": 24,
    "blocked": 1,
    "details_url": "https://docs.sqlparser.com/reference/sql-syntax/redshift/keyword-compatibility/"
  },
  "docs_url": "https://docs.sqlparser.com/reference/sql-syntax/redshift/",
  "constructs": [
    {"name": "CANCEL", "category": "", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CANCEL.html"},
    {"name": "CLOSE", "category": "", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/close.html"},
    {"name": "COMMENT", "category": "", "passed": 3, "total": 3, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_COMMIT.html"},
    {"name": "COMMIT", "category": "", "passed": 3, "total": 3, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_COMMIT.html"},
    {"name": "COPY", "category": "", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_COPY.html"},
    {"name": "DECLARE", "category": "", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/declare.html"},
    {"name": "DELETE", "category": "", "passed": 3, "total": 3, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DELETE.html"},
    {"name": "DESC DATASHARE", "category": "", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DESC_DATASHARE.html"},
    {"name": "INSERT", "category": "", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_INSERT_30.html"},
    {"name": "PREPARE", "category": "", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_PREPARE.html"},
    {"name": "REFRESH MATERIALIZED VIEW", "category": "", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/materialized-view-refresh-sql-command.html"},
    {"name": "RESET", "category": "", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_RESET.html"},
    {"name": "ROLLBACK", "category": "", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ROLLBACK.html"},
    {"name": "SELECT INTO", "category": "", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_SELECT_INTO.html"},
    {"name": "SET", "category": "", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_SET.html"},
    {"name": "SET SESSION AUTHORIZATION", "category": "", "passed": 3, "total": 3, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_SET_SESSION_AUTHORIZATION.html"},
    {"name": "SHOW", "category": "", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_SHOW.html"},
    {"name": "TRUNCATE", "category": "", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_TRUNCATE.html"},
    {"name": "UNLOAD", "category": "", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_UNLOAD_command_examples.html"},
    {"name": "UPDATE", "category": "", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/c_Examples_of_UPDATE_statements.html"},
    {"name": "VACUUM", "category": "", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_VACUUM_command.html"},
    {"name": "ALTER DATABASE", "category": "ALTER", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_DATABASE.html"},
    {"name": "ALTER DATASHARE", "category": "ALTER", "passed": 3, "total": 3, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_DATASHARE.html"},
    {"name": "ALTER DEFAULT PRIVILEGES", "category": "ALTER", "passed": 2, "total": 3, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_DEFAULT_PRIVILEGES.html"},
    {"name": "ALTER GROUP", "category": "ALTER", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_GROUP.html"},
    {"name": "ALTER MATERIALIZED VIEW", "category": "ALTER", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_MATERIALIZED_VIEW.html"},
    {"name": "ALTER PROCEDURE", "category": "ALTER", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_PROCEDURE.html"},
    {"name": "ALTER SCHEMA", "category": "ALTER", "passed": 4, "total": 4, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_SCHEMA.html"},
    {"name": "ALTER TABLE", "category": "ALTER", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_TABLE.html"},
    {"name": "ALTER TABLE APPEND", "category": "ALTER", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_TABLE_APPEND.html"},
    {"name": "ALTER USER", "category": "ALTER", "passed": 3, "total": 3, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_USER.html"},
    {"name": "ANALYZE COMPRESSION", "category": "ANALYZE", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ANALYZE_COMPRESSION.html"},
    {"name": "CREATE DATABASE", "category": "CREATE", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_DATABASE.html"},
    {"name": "CREATE DATASHARE", "category": "CREATE", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_DATASHARE.html"},
    {"name": "CREATE EXTERNAL FUNCTION", "category": "CREATE", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_EXTERNAL_FUNCTION.html"},
    {"name": "CREATE EXTERNAL SCHEMA", "category": "CREATE", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_EXTERNAL_SCHEMA.html"},
    {"name": "CREATE EXTERNAL TABLE", "category": "CREATE", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_EXTERNAL_TABLE.html"},
    {"name": "CREATE FUNCTION", "category": "CREATE", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_FUNCTION.html"},
    {"name": "CREATE GROUP", "category": "CREATE", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_GROUP.html"},
    {"name": "CREATE LIBRARY", "category": "CREATE", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_LIBRARY.html"},
    {"name": "CREATE MATERIALIZED VIEW", "category": "CREATE", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/materialized-view-create-sql-command.html"},
    {"name": "CREATE MODEL", "category": "CREATE", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_MODEL.html"},
    {"name": "CREATE PROCEDURE", "category": "CREATE", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_PROCEDURE.html"},
    {"name": "CREATE SCHEMA", "category": "CREATE", "passed": 3, "total": 3, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_SCHEMA.html"},
    {"name": "CREATE TABLE", "category": "CREATE", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_TABLE_NEW.html"},
    {"name": "CREATE USER", "category": "CREATE", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html"},
    {"name": "CREATE VIEW", "category": "CREATE", "passed": 2, "total": 2, "source": "https://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/2.0.04/en-US/20d5fa9b75191014a33eee92692f1702.html"},
    {"name": "CREATE TABLE AS", "category": "CREATE TABLE", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_TABLE_AS.html"},
    {"name": "ANALYZE", "category": "DDL", "passed": 4, "total": 4, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ANALYZE.html"},
    {"name": "BEGIN", "category": "DDL", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_BEGIN.html"},
    {"name": "CALL", "category": "DDL", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_CALL_procedure.html"},
    {"name": "DEALLOCATE", "category": "DDL", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DEALLOCATE.html"},
    {"name": "DROP FUNCTION", "category": "DDL", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DROP_FUNCTION.html"},
    {"name": "END", "category": "DDL", "passed": 3, "total": 3, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_END.html"},
    {"name": "EXECUTE", "category": "DDL", "passed": 0, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_EXECUTE.html"},
    {"name": "EXPLAIN", "category": "DDL", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_EXPLAIN.html"},
    {"name": "FETCH", "category": "DDL", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/fetch.html"},
    {"name": "GRANT", "category": "DDL", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html"},
    {"name": "LOCK", "category": "DDL", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_LOCK.html"},
    {"name": "REVOKE", "category": "DDL", "passed": 3, "total": 3, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_REVOKE.html"},
    {"name": "ABORT", "category": "DML", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ABORT.html"},
    {"name": "SELECT", "category": "DML", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_FROM_clause30.html"},
    {"name": "DROP DATABASE", "category": "DROP", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DROP_DATABASE.html"},
    {"name": "DROP GROUP", "category": "DROP", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DROP_GROUP.html"},
    {"name": "DROP LIBRARY", "category": "DROP", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DROP_LIBRARY.html"},
    {"name": "DROP MATERIALIZED VIEW", "category": "DROP", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/materialized-view-drop-sql-command.html"},
    {"name": "DROP MODEL", "category": "DROP", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DROP_MODEL.html"},
    {"name": "DROP PROCEDURE", "category": "DROP", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DROP_PROCEDURE.html"},
    {"name": "DROP SCHEMA", "category": "DROP", "passed": 4, "total": 4, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DROP_SCHEMA.html"},
    {"name": "DROP TABLE", "category": "DROP", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DROP_TABLE.html"},
    {"name": "DROP USER", "category": "DROP", "passed": 3, "total": 3, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DROP_USER.html"},
    {"name": "DROP VIEW", "category": "DROP", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_DROP_VIEW.html"},
    {"name": "SELECT Correlated subqueries", "category": "SELECT", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_correlated_subqueries.html"},
    {"name": "SELECT DISTINCT", "category": "SELECT", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_GROUP_BY_clause.html"},
    {"name": "SELECT EXCEPT", "category": "SELECT", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/c_Example_MINUS_query.html"},
    {"name": "SELECT FROM", "category": "SELECT", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_FROM_clause30.html"},
    {"name": "SELECT GROUP BY", "category": "SELECT", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_GROUP_BY_clause.html"},
    {"name": "SELECT HAVING", "category": "SELECT", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_HAVING_clause.html"},
    {"name": "SELECT INTERSECT", "category": "SELECT", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/c_example_intersect_query.html"},
    {"name": "SELECT JOIN", "category": "SELECT", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_Join_examples.html"},
    {"name": "SELECT ORDER BY", "category": "Select", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_ORDER_BY_clause.html"},
    {"name": "SELECT Subquery", "category": "SELECT", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_Subquery_examples.html"},
    {"name": "SELECT TOP", "category": "SELECT", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_Examples_with_TOP.html"},
    {"name": "SELECT UNION", "category": "SELECT", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/c_example_union_query.html"},
    {"name": "SELECT UNION ALL", "category": "SELECT", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/c_example_unionall_query.html"},
    {"name": "SELECT WHERE", "category": "SELECT", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_WHERE_oracle_outer.html"},
    {"name": "SELECT WITH", "category": "SELECT", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_WITH_clause.html"},
    {"name": "SHOW DATASHARES", "category": "SHOW", "passed": 2, "total": 2, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_SHOW_DATASHARES.html"},
    {"name": "SHOW MODEL", "category": "SHOW", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_SHOW_MODEL.html"},
    {"name": "SHOW PROCEDURE", "category": "SHOW", "passed": 1, "total": 1, "source": "https://docs.aws.amazon.com/redshift/latest/dg/r_SHOW_PROCEDURE.html"}
  ]
}
