Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Join: Delayed primary stream #30

Closed
farbodahm opened this issue Sep 8, 2024 · 0 comments · Fixed by #35
Closed

Join: Delayed primary stream #30

farbodahm opened this issue Sep 8, 2024 · 0 comments · Fixed by #35
Assignees
Labels
bug Something isn't working join joins are complex and big; So they deserve a separate tag!

Comments

@farbodahm
Copy link
Owner

Currently Streame doesn't support delayed primary stream; It means if we first receive event from the Streaming topic and then receive event from the Table topic, it will not be written to output. So we need some kind of retry mechanism.

Here is what Photon mentions:

Delayed primary stream: A click can only be joined if the corresponding query event is available in the logs datacenter. Logically, the query event always occurs before the corresponding click. However, the servers generating click events and query events are distributed throughout the world (to minimize end-user latency), and click and query logs are shipped independently to logs datacenters. The volume of query logs is orders of magnitude more than the volume of click logs, thus, it is not uncommon for a subset of query logs to be delayed relative to the corresponding click logs. Pho- ton needs to be able to join whenever the query is available. This makes Photon different from standard RDBMS where a foreign key must always exist in the primary table.

@farbodahm farbodahm added bug Something isn't working join joins are complex and big; So they deserve a separate tag! labels Sep 8, 2024
@farbodahm farbodahm self-assigned this Sep 14, 2024
@farbodahm farbodahm linked a pull request Nov 14, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from In Progress to Done in Streame Status Tracker Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working join joins are complex and big; So they deserve a separate tag!
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant