7.00.02.01 - Aster R Functions Are Not Supported in Expressions - Aster R

Teradata Aster® R User GuideUpdate 3

prodname
Aster R
vrm_release
7.00.02.01
created_date
December 2017
category
Programming Reference
User Guide
featnum
B700-1033-700K

The use of Aster R functions in expressions is not supported and will return an error. For example:

> tadf[int_col == local(var1) / ta.min(int_col), "int_col2"] <- 4
Error in .ta.describe.columns(query) : 42000 34 [AsterData][nCluster] (34) ERROR: syntax error at or near "(". [TeradataAsterR] ERROR: Failed to call SQLPrepare 'select * from (SELECT "row_names","bigint_col","int_col","smallint_col","char_col",CASE WHEN "int_col" = 100.0 / TA.MIN("int_col") THEN (4.0)::int ELSE "int_col2"::int END AS "int_col2","boolean_col" FROM "replacement_expr_fact") as src__obj LIMIT 0' Error in ta.data.frame(queryStr, sourceType = "query", schemaName = attr(tadf, : Exiting since failed to create virtual data frame.