Closed huiyuanai709 closed 2 months ago
You don't provide:
There is nothing to go on here.
You don't provide:
any explanation of the problem;
any example that fails to parse or results in a bad parse tree.
There is nothing to go on here.
it's clearly to see the nchar is not consistent with others type
I think nchar should be consistent with other types
I still don't understand what the inconsistency is here. You don't propose a change for the dataType parser rule.
But, more importantly, this grammar is maintained by @mike-lischke who works at Oracle on MySQL. Changes should go through him at Oracle on an official MySQL github repo.
I think we're going to need a change to the readme to note how to propose changes.
I still don't understand what the inconsistency is here. You don't propose a change for the dataType parser rule.
But, more importantly, this grammar is maintained by @mike-lischke who works at Oracle on MySQL. Changes should go through him at Oracle on an official MySQL github repo.
- Yacc grammar for MySQL: https://github.com/mysql/mysql-server/blob/8.0/sql/sql_yacc.yy
- Antlr grammar translation: https://github.com/mysql/mysql-workbench/tree/a1a527a89ee6412abed8ae0cca58f2e572b46ce7/library/parsers/grammars
I think we're going to need a change to the readme to note how to propose changes.
Sorry, My mistake nchar has National Char and nchar two express, Try to Translate MYSQL DDL dataType to object relation model commonly get type but nchar flash
Hello nchar here is an exception?
https://github.com/antlr/grammars-v4/blob/e07dbbf3445d31da61af5f54f04df78ea40ab9f8/sql/mysql/Oracle/MySQLParser.g4#L3748C1-L3759C33