-
Notifications
You must be signed in to change notification settings - Fork 47
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: expose built-in engines to sqllogictest-engines
crate
#154
Conversation
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
cc @xxchan @wangrunji0408 @skyzh PTAL. 🥰 BTW, should I do something else for adding a new crate? |
It seems the file |
sqllogictest-engine/Cargo.toml
Outdated
@@ -0,0 +1,33 @@ | |||
[package] | |||
name = "sqllogictest-engine" | |||
version = { workspace = true } |
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.
We can begin to use separated versions? 🤪
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.
I'm not sure, but it seems not bad for using a unified version 🤣 which is less ambiguous for users.
sqllogictest-engine/Cargo.toml
Outdated
serde_json = "1" | ||
sqllogictest = { path = "../sqllogictest", version = "0.11" } | ||
thiserror = "1" | ||
tokio = { version = "1", features = [ |
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.
Do we have to depend on tokio
🤔
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.
I'm struggling with this too. Depending on tokio
means that this cannot be directly used in madsim
. 🥺 We need to fork it and replace tokio
with madsim-tokio
.
sqllogictest-engine
cratesqllogictest-engine
crate
sqllogictest-engine
cratesqllogictest-engines
crate
In this PR, we add a new workspace member of
sqllogictest-engine
, which contains pre-built engines likePostgresSimple
,PostgresExtended
, andExternalDriver
. Developers can directly depend on thesqllogictest-engine
crate to utilize them.engines
public #153