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

Sqlsmith: Test invalid arguments for expr, func, cast #4468

Open
Tracked by #7329
kwannoel opened this issue Aug 5, 2022 · 2 comments
Open
Tracked by #7329

Sqlsmith: Test invalid arguments for expr, func, cast #4468

kwannoel opened this issue Aug 5, 2022 · 2 comments
Assignees

Comments

@kwannoel
Copy link
Contributor

kwannoel commented Aug 5, 2022

  • Add separate execution mode for invalid arguments. We do not want to test this along with valid queries, since that interferes with crash testing for normal queries.
  • Generate invalid arguments and test evaluation of these.
  • Add to nightly cron.
@kwannoel kwannoel changed the title Sqlsmith: Test incorrectly typed arguments for expr, func, cast Sqlsmith: Test invalid arguments for expr, func, cast Aug 5, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2022

This issue has been open for 60 days with no activity. Could you please update the status? Feel free to continue discussion or close as not planned.

@kwannoel
Copy link
Contributor Author

kwannoel commented Oct 19, 2022

Working on this now. It should catch unexpected panics for invalid expressions, as well as mismatched types with postgres (e.g. #5883).

Edit: Prototype didn't seem to catch any errors. Working on other more urgent things for now.

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

No branches or pull requests

1 participant