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

proposal: sqllogictest custom extension #95

Open
skyzh opened this issue Nov 12, 2022 · 0 comments
Open

proposal: sqllogictest custom extension #95

skyzh opened this issue Nov 12, 2022 · 0 comments

Comments

@skyzh
Copy link
Member

skyzh commented Nov 12, 2022

I'm thinking of using +label after each statement ok and query to do some custom extensions over the original sqllogictest syntax. An example here:

https://github.com/cmu-db/bustub/blob/85477ace4eb3ff6531ccfb075dbc283ff99dbdf1/test/sql/p3.14-topn.slt#L354-L359

What we can do:

  • +explain print the query plan
  • +repeat:10 repeat for 10 times
  • +ensure:plan_node ensure there's some plan node in the plan
  • +session:name run this query in a given session, e.g., to test the behavior of txn
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

No branches or pull requests

1 participant