Error Calling teradataml Analytic Functions When Connected to Teradata Vantage with SQL Engine Only

Teradata® Python Package User Guide

Teradata Vantage
Teradata Python Package
User Guide

If you connect to Teradata Vantage without a ML Engine installed and request to run teradataml analytic functions that execute on the Teradata ML Engine, the system will return an error.

For example:
TeradataMlException: [Teradata][teradataml](TDML_2102) Failed to execute SQL: teradatasql.OperationalError: [Version] [Session 76702] [Teradata Database] [Error 3707] Syntax error, expected something like ')' between the word 'ConfusionMatrix' and '('.")'

The Teradata Python package is fully featured when connected to Teradata Vantage with SQL Engine and ML Engine. When connecting to Teradata Vantage with SQL Engine only, the only analytic functions available to the teradataml users are the ones that execute on the SQL Engine. To invoke and use teradataml analytic functions available on the ML Engine, your Teradata Vantage system must consist of SQL Engine and ML Engine.