Example 1: Basic Sampling (Weighted) - Aster Analytics

Teradata Aster Analytics Foundation User Guide

Product
Aster Analytics
Release Number
6.21
Published
November 2016
Language
English (United States)
Last Update
2018-04-14
dita:mapPath
kiu1466024880662.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1021
lifecycle
previous
Product Category
Software

This example uses basic sampling to select a sample of 10 rows, weighted by car weight. Because the function call includes the Seed and SeedColumn arguments, it always produces the same output from the same input.