The input table must contain the columns described in the following table. The input table can have additional columns, but the function ignores them.
Column Name | Data Type | Description |
---|---|---|
id_column | Any | Column containing the IDs to be clustered (that is, the set of users). |
items_column | BIGINT, INTEGER, HEX, or STRING | Column containing the set of items on which the clustering is based (that is, the set of items that each user purchased). |