Comments in Queries - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.00
1.0
Published
May 2019
Language
English (United States)
Last Update
2019-11-22
dita:mapPath
blj1506016597986.ditamap
dita:ditavalPath
blj1506016597986.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢

Queries with "@coprocessor"

Comments in queries with "@coprocessor" must have the syntax /* comment */. For example:

SELECT * FROM GLMPredict@coprocessor (
  ON admissions_test PARTITION BY ANY
  ON glm_admissions_model AS model DIMENSION
  USING
  Accumulate ('id', 'masters', 'gpa', 'stats', 'programming', 'admitted')
  Family ('LOGISTIC')     /* Same as BINOMIAL */
  LinkFunction ('LOGIT')  /* Default */
) AS dt;

Queries without "@coprocessor"

Comments in queries without "@coprocessor" can have either the preceding syntax or the syntax -- comment . For example:
SELECT * FROM GLMPredict (
  ON admissions_test PARTITION BY ANY
  ON glm_admissions_model AS model DIMENSION
  USING
  Accumulate ('id', 'masters', 'gpa', 'stats', 'programming', 'admitted')
  Family ('LOGISTIC')     /* Same as BINOMIAL */
  LinkFunction ('LOGIT')  -- Default
) AS dt;