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

Query: Allow non-deterministic runtime constants to be evaluated once per query #12651

Closed
smitpatel opened this issue Jul 12, 2018 · 2 comments
Closed

Comments

@smitpatel
Copy link
Contributor

smitpatel commented Jul 12, 2018

This can be used when non-deterministic runtime constant like Datetime.Now are used in the query but due to them being composed over, we cannot evaluate them on server in main query.

We can either evaluate DateTime.Now on client or run a command to get the value first (we would need to fix #11466), then pass the value to query as parameter to generate actual results.

@divega divega changed the title Query: Allow server evaluation of part of a query once per query Query: Allow non-deterministic runtime constants to be evaluated once per query Jul 16, 2018
@divega divega modified the milestones: 3.0.0, Backlog Jul 16, 2018
@divega
Copy link
Contributor

divega commented Jul 16, 2018

This affects DateTime.Now and friends now, but it may affect other non-deterministic functions, either in providers or user mapped.

@divega
Copy link
Contributor

divega commented Jul 22, 2018

Superseded by #12672.

@divega divega closed this as completed Jul 22, 2018
@ajcvickers ajcvickers removed this from the Backlog milestone Oct 16, 2018
@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants