Skip to content

sql-machine-learning/jsqlflow

Repository files navigation

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