{"modulePath":"github.com/bytebase/omni","version":"v0.0.0-20261202183526-cdc0bb73a600","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/bytebase/omni/analysis","name":"analysis","synopsis":"Package analysis is the contract between Bytebase and the engine analysis packages (mysql/analysis, pg/analysis, ...).","isRedistributable":true},{"path":"github.com/bytebase/omni/bigquery/analysis","name":"analysis","synopsis":"Package analysis provides Bytebase-facing query analysis for GoogleSQL — the SQL dialect shared by Google BigQuery and Google Cloud Spanner.","isRedistributable":true},{"path":"github.com/bytebase/omni/bigquery/ast","name":"ast","synopsis":"Package ast defines GoogleSQL parse-tree node types.","isRedistributable":true},{"path":"github.com/bytebase/omni/bigquery/ast/cmd/genwalker","name":"main","synopsis":"Command genwalker generates walk_generated.go from parsenodes.go and node.go.","isRedistributable":true},{"path":"github.com/bytebase/omni/bigquery/diagnostics","name":"diagnostics","synopsis":"Package diagnostics provides a thin reporting layer over the GoogleSQL SQL parser, shaping raw parse errors into structured diagnostics suitable for editor integration (LSP-style), CI linting, and problem-panel display.","isRedistributable":true},{"path":"github.com/bytebase/omni/bigquery/driver","name":"driver","synopsis":"Package driver is BigQuery's implementation of the driver contract in github.com/bytebase/omni/driver: it reaches the BigQuery service through the cloud.google.com/go/bigquery client, syncs a project's datasets and one dataset's schema into omni/metadata, and runs interactive queries and change scripts.","isRedistributable":true},{"path":"github.com/bytebase/omni/bigquery/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how bigquery's driver tests reach BigQuery: through a tape (enginetest/tape) that replays a pinned dataset's answers, or, in a recording (OMNI_RECORD=1), through the pinned Google Cloud project and dataset itself.","isRedistributable":true},{"path":"github.com/bytebase/omni/bigquery/parser","name":"parser","synopsis":"Package parser implements a hand-written GoogleSQL lexer and (in future DAG nodes) a recursive-descent parser.","isRedistributable":true},{"path":"github.com/bytebase/omni/bigquery/v1review","name":"v1review","synopsis":"Package v1review holds the SQL Review V1 judgments ported from Bytebase's advisor for BigQuery, which parses with GoogleSQL.","isRedistributable":true},{"path":"github.com/bytebase/omni/cassandra","name":"cassandra","synopsis":"Package cassandra provides a parser for Apache Cassandra CQL (Cassandra Query Language).","isRedistributable":true},{"path":"github.com/bytebase/omni/cassandra/analysis","name":"analysis","synopsis":"Package analysis provides CQL query analysis for Cassandra: the query span Bytebase consumes for field-level lineage (masking) and SQL-editor access tracking, plus the statement classification it derives from the same walk.","isRedistributable":true},{"path":"github.com/bytebase/omni/cassandra/ast","name":"ast","synopsis":"Package ast defines parse-tree node types for the omni Cassandra CQL parser.","isRedistributable":true},{"path":"github.com/bytebase/omni/cassandra/driver","name":"driver","synopsis":"Package driver is Cassandra's implementation of the driver contract in github.com/bytebase/omni/driver: it connects with gocql, syncs an instance's keyspaces and one keyspace's tables, indexes and columns into omni/metadata, and runs interactive queries and change scripts.","isRedistributable":true},{"path":"github.com/bytebase/omni/cassandra/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how cassandra's tests reach Cassandra: through a tape (enginetest/tape) that replays a pinned server's answers, or, in a recording (OMNI_RECORD=1), through the pinned server itself.","isRedistributable":true},{"path":"github.com/bytebase/omni/cassandra/parser","name":"parser","synopsis":"","isRedistributable":true},{"path":"github.com/bytebase/omni/cassandra/parser/cmd/antlr3to4","name":"main","synopsis":"Command antlr3to4 converts Apache Cassandra's CQL grammar, which is ANTLR 3 (cassandra/testdata/Cql.g, Parser.g and Lexer.g, as the pinned release publishes them), into the ANTLR 4 grammar the compatibility rows are generated from and judged by, cassandra/testdata/Cql.g4.","isRedistributable":true},{"path":"github.com/bytebase/omni/clickhouse/analysis","name":"analysis","synopsis":"Package analysis provides parser-backed SQL analysis for ClickHouse: statement splitting, EXPLAIN rewriting and inspection, result-limit wrapping, and read-only query validation.","isRedistributable":true},{"path":"github.com/bytebase/omni/clickhouse/completion","name":"completion","synopsis":"Package completion completes ClickHouse SQL with ClickHouse's own grammar, read from omni's ClickHouse parser.","isRedistributable":true},{"path":"github.com/bytebase/omni/clickhouse/deparse","name":"deparse","synopsis":"Package deparse renders ClickHouse schema metadata back into SQL DDL.","isRedistributable":true},{"path":"github.com/bytebase/omni/clickhouse/driver","name":"driver","synopsis":"Package driver is ClickHouse's implementation of the driver contract in github.com/bytebase/omni/driver: it connects through clickhouse-go/v2, syncs a server's databases, users and a database's tables, views and data-skipping indexes into omni/metadata, dumps a database's DDL as the server states it, runs interactive queries, and executes change scripts.","isRedistributable":true},{"path":"github.com/bytebase/omni/clickhouse/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how clickhouse's driver tests reach ClickHouse: through a tape (enginetest/tape) that replays the pinned server's answers, or, in a recording (OMNI_RECORD=1), through the pinned server itself.","isRedistributable":true},{"path":"github.com/bytebase/omni/clickhouse/parser","name":"parser","synopsis":"Package parser implements a hand-written recursive-descent SQL parser for ClickHouse.","isRedistributable":true},{"path":"github.com/bytebase/omni/cockroachdb/analysis","name":"analysis","synopsis":"Package analysis is CockroachDB's statement judgment: the statement types a script changes, the tables it writes, its system catalogs, and the editor's splitting, diagnostics, read-only check, result limit and EXPLAIN.","isRedistributable":true},{"path":"github.com/bytebase/omni/cockroachdb/catalog","name":"catalog","synopsis":"Package catalog renders CockroachDB schema definitions from a synced metadata snapshot and generates the migration between two snapshots.","isRedistributable":true},{"path":"github.com/bytebase/omni/cockroachdb/completion","name":"completion","synopsis":"Package completion completes CockroachDB SQL with CockroachDB's own grammar, read from the vendor goyacc parser rather than PostgreSQL's.","isRedistributable":true},{"path":"github.com/bytebase/omni/cockroachdb/driver","name":"driver","synopsis":"Package driver is CockroachDB's implementation of the driver contract in github.com/bytebase/omni/driver: it connects through pgx, the wire protocol CockroachDB speaks, syncs a server's catalogs into omni/metadata, dumps the server's own DDL, and runs interactive queries and change scripts.","isRedistributable":true},{"path":"github.com/bytebase/omni/cockroachdb/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how CockroachDB's tests reach a server: through a tape (enginetest/tape) that replays the pinned server's answers, or, in a recording (OMNI_RECORD=1), through the pinned server itself.","isRedistributable":true},{"path":"github.com/bytebase/omni/cockroachdb/parser","name":"parser","synopsis":"Package parser parses CockroachDB SQL statements and normalizes parse failures into the repository's ParseError contract.","isRedistributable":true},{"path":"github.com/bytebase/omni/cosmosdb","name":"cosmosdb","synopsis":"Package cosmosdb provides a parser for Azure Cosmos DB NoSQL SQL API queries.","isRedistributable":true},{"path":"github.com/bytebase/omni/cosmosdb/analysis","name":"analysis","synopsis":"Package analysis extracts field-level information from parsed CosmosDB queries.","isRedistributable":true},{"path":"github.com/bytebase/omni/cosmosdb/ast","name":"ast","synopsis":"Package ast defines parse tree node types for Azure Cosmos DB NoSQL SQL API.","isRedistributable":true},{"path":"github.com/bytebase/omni/cosmosdb/driver","name":"driver","synopsis":"Package driver is Cosmos DB's implementation of the driver contract in github.com/bytebase/omni/driver: it reaches an account through the azcosmos client, syncs the account's databases and a database's containers into omni/metadata, and runs the container query language for interactive queries.","isRedistributable":true},{"path":"github.com/bytebase/omni/cosmosdb/driver/queryengine/gonative","name":"gonative","synopsis":"Package gonative implements queryengine.QueryEngine entirely in Go (no cgo, no native plugins, no external toolchain).","isRedistributable":true},{"path":"github.com/bytebase/omni/cosmosdb/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how cosmosdb's driver tests reach Cosmos DB: a pinned Cosmos DB emulator, started on first use in a recording (OMNI_RECORD=1) and removed by Terminate, which the package's TestMain calls.","isRedistributable":true},{"path":"github.com/bytebase/omni/cosmosdb/parser","name":"parser","synopsis":"Package parser implements a hand-written parser for Azure Cosmos DB NoSQL SQL API.","isRedistributable":true},{"path":"github.com/bytebase/omni/databricks/analysis","name":"analysis","synopsis":"Package analysis provides parser-backed SQL analysis for Databricks SQL: statement splitting (including compound BEGIN ...","isRedistributable":true},{"path":"github.com/bytebase/omni/databricks/driver","name":"driver","synopsis":"Package driver is Databricks' implementation of the driver contract in github.com/bytebase/omni/driver: it reaches a Databricks workspace through the Databricks SDK, syncs Unity Catalog's catalogs, schemas and tables into omni/metadata, runs statements through a SQL warehouse, and dumps a workspace's DDL as the server states it.","isRedistributable":true},{"path":"github.com/bytebase/omni/databricks/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how databricks' driver tests reach a workspace: through a tape (enginetest/tape) that replays a pinned workspace's answers, or, in a recording (OMNI_RECORD=1), through the workspace itself.","isRedistributable":true},{"path":"github.com/bytebase/omni/databricks/parser","name":"parser","synopsis":"","isRedistributable":true},{"path":"github.com/bytebase/omni/document","name":"document","synopsis":"Package document walks the JSON documents a document database (MongoDB, Cosmos DB, Elasticsearch) returns against a Schema that tags the fields to mask.","isRedistributable":true},{"path":"github.com/bytebase/omni/doris/analysis","name":"analysis","synopsis":"Package analysis provides query analysis for Doris SQL — statement classification, field extraction, and table access tracking.","isRedistributable":true},{"path":"github.com/bytebase/omni/doris/ast","name":"ast","synopsis":"Package ast defines Doris parse-tree node types.","isRedistributable":true},{"path":"github.com/bytebase/omni/doris/completion","name":"completion","synopsis":"Package completion completes Doris SQL with Doris's own grammar, read from omni's Doris parser.","isRedistributable":true},{"path":"github.com/bytebase/omni/doris/driver","name":"driver","synopsis":"Package driver is Doris's implementation of the driver contract in github.com/bytebase/omni/driver: it connects through go-sql-driver/mysql, syncs a server's metadata into omni/metadata, runs interactive queries and change scripts, and dumps a database's DDL.","isRedistributable":true},{"path":"github.com/bytebase/omni/doris/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how doris's tests reach Doris.","isRedistributable":true},{"path":"github.com/bytebase/omni/doris/parser","name":"parser","synopsis":"Package parser implements a hand-written Doris SQL lexer and recursive-descent parser.","isRedistributable":true},{"path":"github.com/bytebase/omni/doris/parser/cmd/cup2g4","name":"main","synopsis":"Command cup2g4 converts the grammar of Doris's legacy parser, CUP's sql_parser.cup with the JFlex scanner sql_scanner.flex (doris/testdata, as the pinned release publishes them), into an ANTLR 4 parser grammar the compatibility rows are generated from: doris/testdata/DorisLegacyParser.g4.","isRedistributable":true},{"path":"github.com/bytebase/omni/driver","name":"driver","synopsis":"Package driver is the contract between Bytebase and the engine driver packages (pg/driver, ...).","isRedistributable":true},{"path":"github.com/bytebase/omni/dynamodb","name":"dynamodb","synopsis":"Package dynamodb provides a hand-written parser for the PartiQL query language (AWS DynamoDB, Azure Cosmos DB).","isRedistributable":true},{"path":"github.com/bytebase/omni/dynamodb/analysis","name":"analysis","synopsis":"Package analysis provides query analysis for PartiQL statements.","isRedistributable":true},{"path":"github.com/bytebase/omni/dynamodb/ast","name":"ast","synopsis":"Package ast defines parse-tree node types for the omni PartiQL parser.","isRedistributable":true},{"path":"github.com/bytebase/omni/dynamodb/catalog","name":"catalog","synopsis":"Package catalog provides metadata context for PartiQL auto-completion and semantic analysis.","isRedistributable":true},{"path":"github.com/bytebase/omni/dynamodb/completion","name":"completion","synopsis":"Package completion provides auto-complete candidates for PartiQL queries.","isRedistributable":true},{"path":"github.com/bytebase/omni/dynamodb/driver","name":"driver","synopsis":"Package driver is DynamoDB's implementation of the driver contract in github.com/bytebase/omni/driver: it reaches a DynamoDB endpoint through the AWS SDK, syncs the region's tables into omni/metadata, and runs PartiQL for interactive queries and change scripts.","isRedistributable":true},{"path":"github.com/bytebase/omni/dynamodb/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how dynamodb's tests reach DynamoDB: through a tape (enginetest/tape) that replays a pinned endpoint's answers, or, in a recording (OMNI_RECORD=1), through the pinned endpoint itself.","isRedistributable":true},{"path":"github.com/bytebase/omni/dynamodb/parser","name":"parser","synopsis":"Package parser — aggregate function-call parsing (DAG node 14, parser-aggregates).","isRedistributable":true},{"path":"github.com/bytebase/omni/elasticsearch","name":"elasticsearch","synopsis":"Package elasticsearch provides a parser for Kibana Dev Console-style Elasticsearch REST request blocks.","isRedistributable":true},{"path":"github.com/bytebase/omni/elasticsearch/analysis","name":"analysis","synopsis":"Package analysis classifies Elasticsearch REST API requests for masking and extracts field references from request bodies.","isRedistributable":true},{"path":"github.com/bytebase/omni/elasticsearch/driver","name":"driver","synopsis":"Package driver is Elasticsearch's implementation of the driver contract in github.com/bytebase/omni/driver: it speaks the REST API over HTTP, syncs an instance's version, its indices with their document counts and sizes, and its users, and runs Kibana Dev Console requests as interactive queries and change scripts.","isRedistributable":true},{"path":"github.com/bytebase/omni/elasticsearch/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how elasticsearch's tests reach Elasticsearch: through a tape (enginetest/tape) that replays a pinned server's answers, or, in a recording (OMNI_RECORD=1), through the pinned server itself.","isRedistributable":true},{"path":"github.com/bytebase/omni/elasticsearch/parser","name":"parser","synopsis":"Package parser implements a hand-written recursive-descent parser for Kibana Dev Console-style Elasticsearch REST request blocks.","isRedistributable":true},{"path":"github.com/bytebase/omni/elasticsearch/parser/cmd/specgrammar","name":"main","synopsis":"Command specgrammar generates elasticsearch/testdata/ElasticsearchConsole.g4 from Elastic's official elasticsearch-specification schema.json (Apache-2.0).","isRedistributable":true},{"path":"github.com/bytebase/omni/enginetest","name":"enginetest","synopsis":"Package enginetest holds what every engine's compatibility tests share: the pinned servers an engine's answers come from, and the switch among a replay (reading committed answers), a recording (asking the judge and writing them), and a verification (asking the judge again without writing).","isRedistributable":true},{"path":"github.com/bytebase/omni/enginetest/cmd/compatcheck","name":"main","synopsis":"Command compatcheck fails a change to committed engine answers that only a recording may make.","isRedistributable":true},{"path":"github.com/bytebase/omni/enginetest/compat","name":"compat","synopsis":"Package compat holds an engine's parser to its compat.tsv: one row per statement, with omni's verdict and the judge's.","isRedistributable":true},{"path":"github.com/bytebase/omni/enginetest/cputime","name":"cputime","synopsis":"Package cputime holds a test's time budget to the CPU time its work uses, not to the clock.","isRedistributable":true},{"path":"github.com/bytebase/omni/enginetest/fuzz","name":"fuzz","synopsis":"Package fuzz holds an engine parser to the engine contract on any input: Parse never panics, fails only with the engine's ParseError at a byte offset inside the input, and returns a tree whose every byte range lies inside the input.","isRedistributable":true},{"path":"github.com/bytebase/omni/enginetest/grammar","name":"grammar","synopsis":"","isRedistributable":true},{"path":"github.com/bytebase/omni/enginetest/grammar/docs","name":"docs","synopsis":"Package docs converts the Syntax blocks of a vendor's SQL command reference to an ANTLR 4 grammar, the .g4 a docs-judged compat.tsv is generated from and judged by (§2.2 of docs/specs/2026-11-11-engine-compatibility-without-servers-design.md).","isRedistributable":true},{"path":"github.com/bytebase/omni/enginetest/rules","name":"rules","synopsis":"Package rules holds a compat.tsv's grammar rules to the parser code that reads them.","isRedistributable":true},{"path":"github.com/bytebase/omni/enginetest/simulate","name":"simulate","synopsis":"Package simulate holds an engine's catalog to its simulate.tsv: one row per DDL statement on a starting schema, with omni's outcome and the engine's.","isRedistributable":true},{"path":"github.com/bytebase/omni/enginetest/span","name":"span","synopsis":"Package span holds an engine's query span analysis to its span.tsv: for each query of a corpus, in a session on a starting schema, what omni's analysis answers and what the engine states about the same query.","isRedistributable":true},{"path":"github.com/bytebase/omni/enginetest/tape","name":"tape","synopsis":"Package tape records what a hand-written test sends to an engine and the engine's answers, and replays them so the test runs with no server.","isRedistributable":true},{"path":"github.com/bytebase/omni/hive/analysis","name":"analysis","synopsis":"Package analysis provides parser-backed SQL analysis for Hive: statement splitting, EXPLAIN rewriting and plan format detection, and read-only query classification.","isRedistributable":true},{"path":"github.com/bytebase/omni/hive/driver","name":"driver","synopsis":"Package driver is Hive's implementation of the driver contract in github.com/bytebase/omni/driver: it connects to a HiveServer2 through gohive v2, syncs a server's metadata into omni/metadata, dumps a database's DDL as the server states it, and runs interactive queries and change scripts.","isRedistributable":true},{"path":"github.com/bytebase/omni/hive/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how hive's tests reach Hive.","isRedistributable":true},{"path":"github.com/bytebase/omni/hive/parser","name":"parser","synopsis":"Package parser implements a hand-written recursive-descent HiveQL parser targeting Apache Hive 4.0.1 syntax.","isRedistributable":true},{"path":"github.com/bytebase/omni/hive/parser/cmd/antlr3to4","name":"main","synopsis":"Command antlr3to4 converts Apache Hive's HiveQL grammar, which is ANTLR 3 (hive/testdata/vendor/*.g, as rel/release-4.0.1 publishes them), into the ANTLR 4 grammar the compatibility rows are generated from, hive/testdata/Hive.g4.","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/analysis","name":"analysis","synopsis":"","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/ast","name":"ast","synopsis":"Package ast defines MySQL parse tree node types.","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/ast/cmd/genwalker","name":"main","synopsis":"Command genwalker generates walk_generated.go from parsenodes.go and node.go.","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/catalog","name":"catalog","synopsis":"Package catalog — define.go","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/completion","name":"completion","synopsis":"Package completion provides parser-native C3-style SQL completion for MySQL.","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/deparse","name":"deparse","synopsis":"Package deparse converts MySQL AST nodes back to SQL text, matching MySQL 8.0's SHOW CREATE VIEW formatting.","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/driver","name":"driver","synopsis":"Package driver is MariaDB's implementation of the driver contract in github.com/bytebase/omni/driver: it connects through go-sql-driver/mysql, syncs a server's metadata into omni/metadata, dumps it as DDL, and runs interactive queries and change scripts.","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how mariadb's tests reach MariaDB.","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/parser","name":"parser","synopsis":"Package parser implements a recursive descent SQL parser for MySQL.","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/review","name":"review","synopsis":"Package review implements Bytebase SQL Review V2 for MariaDB: the engine side of the contract in github.com/bytebase/omni/review.","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/scope","name":"scope","synopsis":"Package scope provides a shared, dependency-free scope data structure for tracking visible table references and resolving column names.","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/v1review","name":"v1review","synopsis":"Package v1review holds the SQL Review V1 judgments ported from Bytebase's advisor for MariaDB.","isRedistributable":true},{"path":"github.com/bytebase/omni/mariadb/validate","name":"validate","synopsis":"Package validate performs static semantic checks on a MySQL AST produced by mysql/parser.","isRedistributable":true},{"path":"github.com/bytebase/omni/metadata","name":"metadata","synopsis":"Package metadata defines the database schema snapshot that Bytebase syncs from live databases and persists.","isRedistributable":true},{"path":"github.com/bytebase/omni/mongo","name":"mongo","synopsis":"Package mongo provides a parser for MongoDB shell (mongosh) commands.","isRedistributable":true},{"path":"github.com/bytebase/omni/mongo/analysis","name":"analysis","synopsis":"Package analysis extracts structural information from parsed MongoDB statements and decides the statement an EXPLAIN request runs.","isRedistributable":true},{"path":"github.com/bytebase/omni/mongo/ast","name":"ast","synopsis":"Package ast defines MongoDB (mongosh) parse tree node types.","isRedistributable":true},{"path":"github.com/bytebase/omni/mongo/catalog","name":"catalog","synopsis":"Package catalog provides metadata context for MongoDB auto-completion.","isRedistributable":true},{"path":"github.com/bytebase/omni/mongo/completion","name":"completion","synopsis":"Package completion provides auto-complete for MongoDB shell (mongosh) commands.","isRedistributable":true},{"path":"github.com/bytebase/omni/mongo/driver","name":"driver","synopsis":"Package driver is MongoDB's implementation of the driver contract in github.com/bytebase/omni/driver: it connects through the mongo-go-driver client, runs mongosh statements through gomongo, syncs a database's collections and indexes into omni/metadata, dumps them as mongosh, and runs interactive queries and change scripts.","isRedistributable":true},{"path":"github.com/bytebase/omni/mongo/internal/testcontainer","name":"testcontainer","synopsis":"Package testcontainer is how mongo's tests reach MongoDB: through a tape (enginetest/tape) that replays a pinned server's answers, or, in a recording (OMNI_RECORD=1), through the pinned server itself.","isRedistributable":true},{"path":"github.com/bytebase/omni/mongo/parser","name":"parser","synopsis":"","isRedistributable":true}],"total":248,"nextPageToken":"3bf495a71fdc609cd3e02f3040237885"}}
