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

Global SyncTime #74

Closed
nsulikowski opened this issue May 1, 2019 · 2 comments
Closed

Global SyncTime #74

nsulikowski opened this issue May 1, 2019 · 2 comments

Comments

@nsulikowski
Copy link
Contributor

Does Trill have one notion of time across all streams or only per stream?
If it does, is there a way to access that long property?

@cybertyche
Copy link
Contributor

The notion of sync time is per stream, right up until any binary operator in which case they must be considered the same. That notion is entirely data-driven - there is no notion of sync time that is somehow managed by the query or the engine itself.

You can absolutely access that long property - you can lift it into your payload using an overload of Select whose lambda takes two parameters. It looks like: stream.Select((sync, payload) => ...)

@nsulikowski
Copy link
Contributor Author

nsulikowski commented May 1, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants