You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
SQLFlow would use ODPS UDF as the Alps prediction Job, for a simple example prediction UDF program:
set mst.model.name=push_common.model;
set mst.oss.id=aaa;
set mst.oss.key=bbb;
.....
SELECT sqlflow_projet.alps_inference(
concat_ws(",",user_id,label)
,1
,"deep_id"
,COALESCE(deep_id, "")
) as (user_info, score)
FROM sqlflow_projet.users;
The SQLFlow Predict SQL can be like:
SELECTsqlflow_projet.alps_inference(
concat_ws(',',user_id,label)
,1
,"deep_id"
,COALESCE(deep_id, "")
) AS (user_info, score)
FROMsqlflow_projet.users
PREDICT sqlflow_project.pred_result
USING sqlflow_model;
Is your feature request related to a problem? Please describe.
SQLFlow would use ODPS UDF as the Alps prediction Job, for a simple example prediction UDF program:
The SQLFlow Predict SQL can be like:
There would be two tasks to finish this feature:
NOTE: For the future, we need a more general solution to parse the standard SQL syntax.
The text was updated successfully, but these errors were encountered: