parser
parser copied to clipboard
A MySQL Compatible SQL Parser
## Feature Request **Is your feature request related to a problem? Please describe:** TiDB doesn't support `UNION` expressions inside subquery in select fields. ``` mysql select ((select count(a)) union (select...
We've make the parser a standalone repository, moving the code out from [TiDB](https://github.com/pingcap/tidb). One of the main purpose is to make the parser more general one. The parser should be...
## Question Before asking a question, make sure you have: - Searched existing Stack Overflow questions. - Googled your question. - Searched open and closed [GitHub issues](https://github.com/pingcap/parser/issues?utf8=%E2%9C%93&q=is%3Aissue) - Read the...
## Bug Report In `pingcap/parser/mysql/const.go`, the type: ``` type SQLMode int ``` but it has too many bit definitions to fit in 32 bits. It should be `int64` or `uint64`...
'bad access: nil dereference' when calling Error()/getMsg() method of type Error in terror/terror.go
## Bug Report 1. What did you do? `Debugging a test case in TiDB and stuck in debug mode, see error of 'bad access: nil dereference'` Here's an exactly case:...
## Feature Request **Is your feature request related to a problem? Please describe:** I am trying to parse create table statements from mysqldump file. For the statements that include spatial...
Parsing a `GRANT` statement fails if that statement contains "resource_option" as described here: https://dev.mysql.com/doc/refman/5.6/en/grant.html > 1. What did you do? We run a fork of `ghostferry` (a SQL replication tool)...
### What problem does this PR solve? Issue Number: pingcap/tidb#8854 Problem Summary: Support CTRL-C or KILL to kill a connection/query. ### What is changed and how it works? Compose a...
## Feature Request **Is your feature request related to a problem? Please describe:** SQL:2008 introduced the [FETCH FIRST clause](https://en.wikipedia.org/wiki/Select_(SQL)#FETCH_FIRST_clause) to unify the LIMIT feature with varying syntax among all RDBMS...