How to ensure that two-phase aggregation is taking place here?

77 views
Skip to first unread message

Britannio Jarrett

unread,
Nov 27, 2023, 8:39:34 AM11/27/23
to rama-user
Hello, I made a demo project to learn Rama myself. It has a query found here: https://github.com/britannio/rama-e-vehicle-hire/blob/main/src/main/java/org/example/EVModule.java#L251-L263.

From what I understand, two-phase aggregation will be implicitly carried out here and at most 50 tuples will be transferred from each partition to the origin partition?

Also, I'm an undergrad CS student and I'm working on a blog post describing this demo that I made in Rama. Any feedback on the code or the draft post ( https://www.notion.so/britannio/Rama-Reviewed-A-Breakthrough-Paradigm-in-Software-Engineering-06f8e7320a4a4851be54057e3689adeb, comments enabled if you log in) would be appreciated!


Nathan Marz

unread,
Nov 27, 2023, 11:39:09 AM11/27/23
to rama...@googlegroups.com
That's correct. Query topologies are implicitly batch blocks. Two-phase aggregation will take place as long as all aggregators used in the batch block support it.

--
You received this message because you are subscribed to the Google Groups "rama-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rama-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rama-user/7a9892ee-8c1d-44b5-be09-9540e0c156cbn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages