https://github.com/sql-machine-learning/jsqlflow
SQLFlow client in Java
https://github.com/sql-machine-learning/jsqlflow
Last synced: about 1 month ago
JSON representation
SQLFlow client in Java
- Host: GitHub
- URL: https://github.com/sql-machine-learning/jsqlflow
- Owner: sql-machine-learning
- License: apache-2.0
- Created: 2019-11-14T14:32:45.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2023-07-05T20:46:21.000Z (over 2 years ago)
- Last Synced: 2025-04-06T03:04:45.528Z (12 months ago)
- Language: Java
- Size: 87.9 KB
- Stars: 7
- Watchers: 8
- Forks: 9
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# SQLFlow client for Java Developers
## Requirements
- Java 8+
## Build
### Compile protobuf
```shell script
mvn protobuf:compile && mvn protobuf:compile-custom
```
### Package
```shell script
mvn clean package -q
```
## Test
We provide two tests, one requests to local mocking server and the other requests to a remote server:
```shell script
SQLFLOW_SERVER="remote server address" \
SQLFLOW_SUBMITTER="pai/alisa/..." \
SQLFLOW_DATA_SOURCE="Your data source specified by https://github.com/sql-machine-learning/sqlflow/blob/develop/doc/run_with_maxcompute.md" \
USER_ID="the one who runs the SQL" \
mvn test -Dtest=SQLFlowRemoteTest#runTest
```