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
Published
February 2026
ft:locale
en-US
ft:lastEdition
2026-02-18
dita:mapPath
fee1607120608274.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
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);