print.val.query | Teradata Package for R - print.val.query - Teradata Package for R

Teradata® Package for R User Guide

Product
Teradata Package for R
Release Number
17.00
Published
July 2021
Language
English (United States)
Last Update
2023-08-08
dita:mapPath
yih1585763700215.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
B700-4005
Product Category
Teradata Vantage

The print.val.query is a boolean option that controls whether or not to print the query being sent to the Vantage Platform when a VAL function is executed.

The default value is FALSE.

Example

This example shows the query in the system output when this option is set to TRUE.

> options(print.val.query = TRUE)
> custanly <- tbl(con, "customer_analysis")
> obj <- td_ks_test_valib(data=custanly,
                          dependent.column="income",
                          group.columns="years_with_bank",
                          style="ks")
 
"call VAL.td_analyze('KSTEST', 'database=ALICE; tablename=customer_analysis; outputdatabase=ALICE; outputtablename=r__t__valib_td_ks_test_valib1623306413001667;    columnofinterest=income; groupby=years_with_bank; teststyle=ks');"