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

Demonstrate binding NOW() during planning (ALTERNATE TO StatefulFunction) #335

Closed
wants to merge 22 commits into from

Conversation

alamb
Copy link
Contributor

@alamb alamb commented May 13, 2021

This PR is based off of #288 from @msathis

It is not meant to be merged, but rather demonstrate an alternate method of having the now() function return the same constant.

The challenge is that when invoked, we want the now() function, however many times it is called, to always return the same value. This PR implements this logic by using a closure to capture the value for now() picked at plan time in 261e769

@alamb alamb mentioned this pull request May 13, 2021
3 tasks
@alamb
Copy link
Contributor Author

alamb commented May 14, 2021

Incorporated into #288

@alamb alamb closed this May 14, 2021
@alamb alamb deleted the alamb/closure-with-now branch October 6, 2022 18:30
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

Successfully merging this pull request may close these issues.

2 participants