parser icon indicating copy to clipboard operation
parser copied to clipboard

A MySQL Compatible SQL Parser

Results 61 parser issues
Sort by recently updated
recently updated
newest added

On MySQL 8, all optimizer hints parsed *before* a syntax error will be accepted: ```console $ echo 'SELECT SLEEP(1);' | mysql -u root SLEEP(1) 0 $ echo 'SELECT /*+ max_execution_time(2)...

type/bug

1. What did you do? ```sh make test ``` 2. What did you expect to see? test pass. 3. What did you see instead? ```sh make test gofmt (simplify) sh...

type/bug
severity/minor

## Bug Report 1. What did you do? ```sql mysql> CREATE TABLE t (i INT, PRIMARY KEY (i)) ENGINE = InnoDB; mysql> INSERT INTO t (i) VALUES(1),(2),(3); mysql> SELECT *...

These SQLs: ```sql select 1 where true; select 1 group by 1; select 1 having true; ``` All return one row with the value 1 on MySQL 8.0 (also tested...

help wanted
type/new-feature

e.g. select * from t123_terms inner join t123_abc ... inner join t123_xyz; how do i replace t123... with abc.t123_...? please help. thx

## Question Why TableInfo.ID type is int64 not uint64?

## Feature Request This is sub issue of https://github.com/pingcap/tidb/issues/15938 **Is your feature request related to a problem? Please describe:** To implement getting mvcc info through SQL, TiDB need to support...

## Feature Request **Is your feature request related to a problem? Please describe:** Background: Once a PR modifies the `parser.y` file, it needs to regenerate the `parser.go` file with `goyacc`...

Recently I'm working on improving TiDB parser's compatibility( see [Improve parser compatibility](https://github.com/pingcap/tidb/issues/11486)). As we all know, parser's behavior is mostly base on MySQL5.7, but as time goes by there are...

## Bug Report Please answer these questions before submitting your issue. Thanks! 1. What did you do? If possible, provide a recipe for reproducing the error. ``` drop database if...

type/compatibility