Discover Packages
github.com/Fanduzi/DeltaScope
internal
infrastructure
parser
tidb
package
Version:
v0.9.2
Opens a new window with list of versions in this module.
Published: Mar 28, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
TiDB Parser Module
TiDB-backed parser adapter for multi-statement SQL parsing and parser-warning collection.
Files
File
Responsibility
parser.go
Parses SQL text and preserves raw statement nodes plus parser warnings
parser_test.go
Verifies multi-statement parsing and parse-failure behavior
Exports
Dependencies
Upstream: internal/application/audit
Downstream: github.com/pingcap/tidb/pkg/parser
Update Rule
If members/interfaces/dependencies change, update this file in same change.
Expand ▾
Collapse ▴
Documentation
¶
Package tidbparser loads SQL text through the TiDB parser.
input: SQL text and TiDB parser runtime dependencies
output: raw parsed statement nodes and parser warnings for application orchestration
pos: infrastructure parser adapter for MySQL and TiDB SQL parsing
note: if this file changes, update this header and module README.md.
Parser adapts TiDB parser behavior for DeltaScope.
New returns a TiDB-backed parser adapter.
Parse parses SQL text into TiDB statements and preserves parser warnings.
Result is the infrastructure output of the parser adapter.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.