7.00.02 - Output - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Last Update
2018-04-17

In the output table, each row represents a basket.

Basket_Generator Output Table Schema
Column Name Data Type Description
accumulate_column VARCHAR Copied from the input table.
basket_item VARCHAR Contains items (values) from the input column basket_item. If the BasketItem argument specifies c columns, then the output table has c * basket_item such columns.

If the number of combinations or permutations exceeds one million, then the function outputs no rows.

If n is the number of distinct items that can appear in a basket and r is basket_size, then:

  • The maximum number of combinations is nCror n!/(r!(n-r)!)
  • The maximum possible number of permutations is nPr or n!/(n-r)!)