DataikuPredict Example: Loading Model with BTEQ - Teradata Vantage

Teradata Vantageā„¢ - Bring Your Own Model User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Vantage
Release Number
5.0
Published
October 2023
Language
English (United States)
Last Update
2024-04-06
dita:mapPath
fee1607120608274.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
fee1607120608274
-- load generated model using BTEQ client
 
 
-- Make sure that the model table "dataiku_models" exists and has two columns: model_id as "varchar" and model as "BLOB" type
-- Create a file load_Dataiku_model.txt that has a model_id and a model file name entry such as:
-- iris_db_rf_model|iris_db_rf_model.jar
 
.import vartext file load_Dataiku_model.txt
.repeat * 
USING (c1 VARCHAR(30), c2 BLOB AS DEFERRED BY NAME) INSERT INTO dataiku_models(:c1, :c2);