engines

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package engines assembles the SQL lineage analyzers this build supports.

The set is a compile-time list rather than package state an init function fills in: every dialect exports a Registration binding it to the engine it serves, and this package names the dialects that are part of the build. The process builds one lineage analyzer from it at startup, so what is registered cannot change under a running server, and a test can build an analyzer over exactly the engines it needs.

OceanBase is deliberately absent: the runner records a per-object skip for it rather than analyzing its SQL with another engine's grammar.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Registrations

func Registrations() []lineage.EngineRegistration

Registrations returns one binding per supported engine. TiDB and MariaDB are separate entries even though their traversal is generated from MySQL: each has its own parser, and a statement one accepts the others may not. Doris and StarRocks are separate entries for the same reason — their ASTs are siblings, but the two grammars disagree on parenthesized queries, table functions and LATERAL VIEW.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL