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 ca4668b commit fda8771
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 @@ -8,7 +8,7 @@ Or alternatively, "average weight of the last 10 items that a user purchased", b

Assuming that square footage of a listing is stored separately from listing views - computing this requires
- computing last_k items purchased per user, from the purchases stream
- enriching the listing_ids again with listing price
- using the `item_id` to enrich the data with the `item_weight`
- finally aggregating the listing price.

To express the above transformations, we need 2 Joins in Chronon to aggregate listings in the last 14 days and average price for these listings.
Expand Down

0 comments on commit fda8771

Please sign in to comment.