cockroachdb / cockroachdb/cockroach

workload_generator: change the DDL parser to use SQL parser

Open
#155,173 0 comments 0 reactions 1 assignee Claimed by @nameisbhaskar View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.