Skip to content

Commit

Permalink
Update docs/source/authoring_features/ChainingFeatures.md
Browse files Browse the repository at this point in the history
Co-authored-by: Varant Zanoyan <[email protected]>
Signed-off-by: Pengyu Hou <[email protected]>
  • Loading branch information
pengyu-hou and ezvz authored Feb 5, 2024
1 parent 71f6907 commit 1b3c614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/authoring_features/ChainingFeatures.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For example, compute “average price of the last 10 items that a user purchase

Or alternatively, "average weight of the last 10 items that a user purchased", but assuming that weight is not an included field in the purchases data, and rather stored in a normalized fashion in a different table.

Assuming that square footage of a listing is stored separately from listing views - computing this requires
Computing this would require:```
- computing last_k items purchased per user, from the purchases stream
- using the `item_id` to enrich the data with the `item_weight`
- finally aggregating the item weight.
Expand Down

0 comments on commit 1b3c614

Please sign in to comment.