cockroachdb / cockroachdb/cockroach
workload_generator: change the DDL parser to use SQL parser
Open
C-enhancement
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
We run into different SQL parsing issues with the CREATE statements as this uses a bunch of regexes and string matches.
We need to change the same to be using the SQL parser so that the SQL specific scenarios are handled better.
Function reference `ParseDDL` in `pkg/workload/workload_generator/schema_generator.go`
Jira issue: CRDB-55305
Contributor guide
Assessment
This issue has not been assessed yet.