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

Teradata® Package for R User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for R
Release Number
17.20
Published
March 2024
ft:locale
en-US
ft:lastEdition
2024-04-09
dita:mapPath
efv1707506846369.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
nqx1518630623256
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');"