td.debug.enable | Teradata Package for R - td.debug.enable - 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
Language
English (United States)
Last Update
2024-04-09
dita:mapPath
efv1707506846369.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
nqx1518630623256
Product Category
Teradata Vantage

The td.debug.enable is a boolean option which enables the user to understand and debug the steps happening while a call is made.

The default value is FALSE.

Example

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

  • Set the option to TRUE.
    > options(td.debug.enable = TRUE)
  • Create tbl_teradata of the table 'computers_train1'. The system lists the steps while this call is made.
    > computers_train1 <- tbl(con, "computers_train1")
    
    In db_query_fields.Teradata(src$con, from):
    db_query_fields(src$con, from):
    vars %||% db_query_fields(src$con, from):
    tbl_sql(c('teradata', 'dbi'), src = src, from = from, ...):
    tbl.src_Teradata(src_teradata(src), from, ...):
    tbl(src_teradata(src), from, ...):
    tbl.Teradata(con, 'computers_train1'):
    tbl(con, 'computers_train1'):
    [tdplyr - (TDR_E1001)] Ignoring query:
    [tdplyr - (TDR_E1001)] Describe Columns given query/table/view: computers_train1
    >
In contrary, if this option is set to default value of FALSE, system runs the call without showing the steps.
  • Set the options to FALSE.
    > options(td.debug.enable = FALSE)
  • Create tbl_teradata of the table 'computers_train1'. The system runs the call without showing the steps.
    > computers_train1 <- tbl(con, "computers_train1")
    >