Skip to content

workload/kv: refactor to add dialects#164319

Draft
golgeek wants to merge 1 commit intocockroachdb:masterfrom
golgeek:ludo/kv-workload
Draft

workload/kv: refactor to add dialects#164319
golgeek wants to merge 1 commit intocockroachdb:masterfrom
golgeek:ludo/kv-workload

Conversation

@golgeek
Copy link
Contributor

@golgeek golgeek commented Feb 24, 2026

Until now, workload was only compatible with CRDB.

This patch introduces the concept of dialect to make the KV workload compatible with other dialects (PostgreSQL, Spanner and CRDB at first). The patch implements --dialect for both workload init kv and workload run kv commands.

This feature is limited to the KV workload for now.

Epic: CRDB-60563
Fixes: #164224

Until now, workload was only compatible with CRDB.

This patch introduces the concept of dialect to make the KV workload
compatible with other dialects (PostgreSQL, Spanner and CRDB at first).
The patch implements `--dialect` for  both `workload init kv`
and `workload run kv` commands.

This feature is limited to the KV workload for now.

Epic: CRDB-60563
Fixes: cockroachdb#164224
@blathers-crl
Copy link

blathers-crl bot commented Feb 24, 2026

Your pull request contains more than 1000 changes. It is strongly encouraged to split big PRs into smaller chunks.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@trunk-io
Copy link
Contributor

trunk-io bot commented Feb 24, 2026

Merging to master in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

benchmark: extend supported dialects in the kv workload

2 participants