-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create README.md Signed-off-by: TennyZhuang <[email protected]> * Update README.md Signed-off-by: TennyZhuang <[email protected]> Signed-off-by: TennyZhuang <[email protected]>
- Loading branch information
1 parent
2262139
commit b5b3488
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# sqllogictest-driver-jdbc | ||
|
||
JDBC driver for [sqllogictest-rs](https://github.com/risinglightdb/sqllogictest-rs). | ||
|
||
sqllogictest-rs is under active development, so only the latest version is supported. | ||
|
||
## Build and run | ||
|
||
Build and package the driver: | ||
|
||
```sh | ||
mvn package | ||
``` | ||
|
||
Run with sqllogictest-rs: | ||
|
||
```sh | ||
EXTERNAL_ENGINE_COMMAND_TEMPLATE="java -cp ./target/sqllogictest-jdbc-runner-1.0-SNAPSHOT-jar-with-dependencies.jar com.risingwave.sqllogictest.App jdbc:postgresql://{host}:{port}/{db} {user}" | ||
sqllogictest --engine=external --user=root --db=dev --port=4566 [slt] | ||
``` | ||
|
||
## Contribution | ||
|
||
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. | ||
|
||
Contributors should add a Signed-off-by line for [Developer Certificate of Origin](https://github.com/probot/dco#how-it-works) in their commits. Use git commit -s to sign off commits. |