-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Document and scratch
directory for sqllogictest and make test specific
#7312
Conversation
|
||
Tests in the `.slt` file are a sequence of query record generally starting with `CREATE` statements to populate tables | ||
and then further queries to test the populated data (arrow-datafusion exception). | ||
For example, the `test_files/copy.slt` file should use scratch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great to me! I ran into some issues needing to make sure each table had a unique subpath betwen copy/insert tests in #7294, and this would simplify that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merged #7294 and I updated this PR with the changes from there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small typos, other than LGTM.
Co-authored-by: Metehan Yıldırım <[email protected]>
@Dandandan / @jackwener / @liukun4515 here is another example where the PR is ready to merge but I can't merge it due to the check added in #7226 Can another committer please approve this PR? |
Thanks @yjshen ❤️ |
Which issue does this PR close?
Follow on to #7283
Rationale for this change
@devinjdangelo added a neat
scratch
concept to sqllogictest but it is not yet documented. See discussion at #7283 (comment)What changes are included in this PR?
copy.slt
to use the specific direcotryscratch
dir in READMEAre these changes tested?
Yes
Are there any user-facing changes?