duckdb / duckdb/pg_duckdb

Fuzzing using SQLsmith

Open
#222 2 comments 0 reactions 0 assignees View on GitHub
good first issue testing
Dominant language
C++
Stars
3.2k
Forks
204
PR merge metrics
No merged PRs in 30d

Description

Once we're unable to crash postgres easily ourselves we should use [SQLsmith](https://github.com/anse1/sqlsmith) to run a bunch of randomly generated queries. If these cause errors or don't work, that's "fine" but they shouldn't be causing crashes.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing how this C++ project currently executes PostgreSQL queries and where crashes can be detected; the issue names no files or tests. Evaluate integrating SQLsmith to generate randomized queries, and consider the work done when those queries no longer cause crashes, even if they produce errors or fail otherwise.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, postgresql
Domain
databases, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.