Skip to content

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

Closed as duplicate

Description

@smitpatel

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.

Activity

  1. 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[/+] on Jul 16, 2018
  2. modified the milestones: 3.0.0, Backlog on Jul 16, 2018
  3. divega commented on Jul 16, 2018

    @divega
    Contributor

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

  4. divega commented on Jul 22, 2018

    @divega
    Contributor

    Superseded by #12672.

  5. removed this from the Backlog milestone on Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions