ONNXClassification Example: Load model with BTEQ - Teradata Vantage

Teradata Vantage™ - Bring Your Own Model User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Vantage
Release Number
20.00
Publication Date
May 2026
Content Type
User Guide
Publication ID
B700-1111-051K
ft:locale
en-US
ft:lastEdition
2026-06-18
dita:mapPath
fee1607120608274.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
ft:sourceId
dita
dita:id
fee1607120608274
-- load generated model using BTEQ client
 
 
-- Make sure that the model table "models" exists and has two columns: model_id as "varchar" and model as "BLOB" type
-- Create a file load_model.txt that has a model_id and a model file name entry such as:
-- dist-base-multi-senti-student|dist-base-multi-senti-student.onnx
 
.import vartext file load_model.txt
.repeat * 
USING (c1 VARCHAR(30), c2 BLOB AS DEFERRED BY NAME) INSERT INTO models(:c1, :c2);