Skip to content

StarRocks SQL Syntax Support

StarRocks is an open-source, MPP OLAP database (a Linux Foundation project) built for sub-second analytics on real-time and batch data. It exposes a MySQL-compatible protocol and SQL surface while adding its own DDL for table types, distribution, and materialized views.

General SQL Parser (GSP) parses StarRocks SQL with a dedicated grammar, so StarRocks workloads get full AST access, offline syntax validation, SQL formatting, and column-level data lineage — including StarRocks-specific DDL that a generic MySQL parser would reject.

See the StarRocks Keyword Compatibility Reference for keyword-as-identifier support.