Skip to content

feat(dm): Support Dameng (DM) SQL Parser and Bug Fixes#6605

Open
Arlowen wants to merge 11 commits intoalibaba:masterfrom
Arlowen:master
Open

feat(dm): Support Dameng (DM) SQL Parser and Bug Fixes#6605
Arlowen wants to merge 11 commits intoalibaba:masterfrom
Arlowen:master

Conversation

@Arlowen
Copy link
Copy Markdown

@Arlowen Arlowen commented Feb 25, 2026

Summary

This Pull Request introduces comprehensive support for parsing Dameng (DM) database SQL statements. It includes the implementation of the DM dialect parser, lexer, and AST visitor logic, ensuring that DM-specific syntax is correctly parsed and formatted.

Additionally, this PR addresses several reported bugs related to the DM parser and enhances test coverage to ensure stability.

Detailed Changes

Features

  • DM SQL Support: Added initial support for Dameng database parsing logic (DMLexer, DMStatementParser, DMAstVisitor).
  • Test Coverage: Added detailed test cases for various DM SQL scenarios to verify parser accuracy.
  • Import Refactoring: Optimized import statements across related classes for better code organization.

Bug Fixes

Related Issues

Checklist

  • Logic implementation for DM parser
  • Unit tests added and verified locally
  • Code style and imports cleaned up
  • Verified bug fixes against reported issues

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 25, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants