Example: Function Mapping Definition with IN TABLE Options - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530

Following is the function mapping definition GLMPredict for the glmpredict function on the server coprocessor.

During function processing, the following can be specified in the table operator ON clause:
  • A single input table without a correlation name.
  • The input table MODEL as a correlation name.
CREATE FUNCTION MAPPING appl_view_db.GLMPredict
   FOR glmpredict SERVER coprocessor 
   MAP JSON ( '{ "function_version": "1.0" }') 
   USING 
      ANY IN TABLE,  
      MODEL IN TABLE;