apache / shardingsphere

Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases.
Apache License 2.0
20k stars 6.76k forks source link

Get sql test case from source code to test shardingsphere-parser support #13383

Closed tuichenchuxin closed 2 years ago

tuichenchuxin commented 3 years ago

I want to know which sql is not supported for sharding-sphere-parser. So , i want to get test case from source code, and add unsupported sql cases, which will prompt us to support.

I tested this file refer to https://github.com/mysql/mysql-server/blob/8.0/mysql-test/t/parser.test

I found this file in postgre https://github.com/postgres/postgres/tree/master/src/test/regress/sql

tuichenchuxin commented 2 years ago

We have get all unsupported sql from pg/mysql source code