thunguo opened a new issue, #1104:
URL: https://github.com/apache/incubator-seata-go/issues/1104

   ## Background
   
   seata-go currently uses `github.com/arana-db/parser v0.2.17` as its SQL 
parser for AT mode transaction management (SQL parsing, undo log building, 
before/after image generation).
   
   `arana-db/parser` is a fork of the early `pingcap/parser` and is no longer 
actively maintained. We should migrate to the upstream 
`github.com/pingcap/tidb/pkg/parser`, which is actively maintained by the TiDB 
community with better MySQL compatibility and continuous bug fixes.
   
   ---
   
   ## Goal
   
   Migrate the SQL parser from `github.com/arana-db/parser` to 
`github.com/pingcap/tidb/pkg/parser`.
   
   ---
   
   ## Scope
   
   - [ ] Replace the dependency in `go.mod`
   - [ ] Update all import paths
   - [ ] Adapt to API differences in the new parser (AST node types, Visitor 
interface, etc.)
   - [ ] Verify that SQL parsing, undo log building, and before/after image 
generation in AT mode still work correctly
   - [ ] Update related unit tests
   
   ---
   
   ## References
   
   - [arana-db/parser](https://github.com/arana-db/parser)
   - 
[pingcap/tidb/pkg/parser](https://github.com/pingcap/tidb/tree/master/pkg/parser)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to