7.00.02 - Input - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)

The Sample function always requires a data table. Some syntax options also require a summary table.

Sample Data Table Schema
Column Name Data Type Description
data_column Any Contains data to be sampled.
condition_column Any [Optional] Contains the data conditions. For some syntax options, the data conditions are in the summary table.
Sample Summary Table Schema
Column Name Data Type Description
data_column Any Contains data to be sampled. (Optional for Unconditional Sampling, Approximate Sample Size, in the Sample Syntax section.)
condition_column Any Contains the data conditions.
The summary input must summarize the population statistics faithfully. That is, sum / stratum_count with a non-null stratum value must equal the total population size. Otherwise, the final sample output might not approximate the target sample fractions well.