Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking: Using sqlsmith to support sql fuzzy testing #12576

Open
27 of 43 tasks
b41sh opened this issue Aug 24, 2023 · 0 comments
Open
27 of 43 tasks

Tracking: Using sqlsmith to support sql fuzzy testing #12576

b41sh opened this issue Aug 24, 2023 · 0 comments
Assignees
Labels
C-feature Category: feature

Comments

@b41sh
Copy link
Member

b41sh commented Aug 24, 2023

SQLSmith is a random SQL query generator, we use it to do random tests to find potential bugs

Query

  • Generate a simple select query
  • Generate Filter selection
  • Generate With clause (CTE)
  • Generate Group By clause @TCeason
  • Generate Order By clause @TCeason
  • Generate Having clause
  • Generate Limit clause @TCeason
  • Generate Type casting
  • Generate Scalar functions @b41sh
  • Generate Aggregate functions @TCeason
  • Generate Window functions @TCeason
  • Generate Lambda functions
  • Generate Table functions @TCeason
  • Generate Exprs
  • Generate SetOperator(UNION/EXCEPT/INTERSECT)
  • Generate Values clause
  • Generate SubQuery
  • Generate Join @b41sh
  • Generate Nested data types(Array, Map, Tuple, JSON) @b41sh
  • Generate Select from the stage
  • Generate Hint Set var
  • Generate Complex SubQuery
  • Generate pivot and unpivot

DDL

DML

  • Generate Insert values
  • Generate Update values
  • Generate Delete
  • Generate Copy
  • Generate Merge into
  • Generate Insert values with query
  • Generate Insert values with streaming
  • Generate Replace into

Reducer

  • Reducer to simplify SQL @TCeason
  • Reducer nested expression to simple expression
@b41sh b41sh added the C-feature Category: feature label Aug 24, 2023
@b41sh b41sh self-assigned this Aug 24, 2023
@b41sh b41sh changed the title Feature: Using sqlsmith to support sql fuzzy testing Tracking: Using sqlsmith to support sql fuzzy testing Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant