Aster R Functions Are Not Supported in Expressions - Aster R

Teradata Aster® R User GuideUpdate 3

Product
Aster R
Release Number
7.00.02.01
Published
December 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
fop1497542774450.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
fbp1477004286096
lifecycle
previous
Product Category
Software

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.