Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 649 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 649 Bytes

SQLFlow client for Java Developers

Requirements

  • Java 8+

Build

Compile protobuf

mvn protobuf:compile && mvn protobuf:compile-custom

Package

mvn clean package -q

Test

We provide two tests, one requests to local mocking server and the other requests to a remote server:

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