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

refactor: refactor risinglight-sqllogictest #682

Merged
merged 9 commits into from
Aug 21, 2022
Merged

refactor: refactor risinglight-sqllogictest #682

merged 9 commits into from
Aug 21, 2022

Conversation

xxchan
Copy link
Member

@xxchan xxchan commented Aug 21, 2022

Signed-off-by: xxchan <xxchan22f@gmail.com>
Signed-off-by: xxchan <xxchan22f@gmail.com>
Signed-off-by: xxchan <xxchan22f@gmail.com>
@xxchan xxchan requested a review from skyzh August 21, 2022 18:12
Signed-off-by: xxchan <xxchan22f@gmail.com>
Signed-off-by: xxchan <xxchan22f@gmail.com>
@xxchan xxchan changed the title refactor: refactor slt driver refactor: refactor risinglight-sqllogictest Aug 21, 2022
@xxchan xxchan enabled auto-merge (squash) August 21, 2022 18:34
Signed-off-by: xxchan <xxchan22f@gmail.com>
Signed-off-by: xxchan <xxchan22f@gmail.com>
Signed-off-by: xxchan <xxchan22f@gmail.com>
Copy link
Member

@skyzh skyzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest LGTM, good work!

let mut tests = vec![];

for entry in paths {
let path = entry.expect("failed to read glob entry");
let subpath = path.strip_prefix("../sql").unwrap().to_str().unwrap();
let path = current_dir.join(path.clone());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer using relative path like before. No need to get current dir.

@xxchan xxchan merged commit 6fc958d into main Aug 21, 2022
@xxchan xxchan deleted the xxchan/slt branch August 21, 2022 21:31
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

Successfully merging this pull request may close these issues.

None yet

2 participants