Skip to content

Query : investigate if its enough to visit AccessExpression of the NullConditionalExpression when looking for query sources requiring materialization #7746

Closed as not planned

Description

@maumar

Currently in RequiresMaterializationExpressionVisitor, when processing NullConditional expression we only visit its AccessExpression. This might not be enough - Caller and NullableCaller might have some qsres that need to be materialized. For now it's not an issue because we mark all qsres participating in optional navigations, but when we start optimizing those queries we might need to investigate.

Activity

  1. added this to the 2.0.0 milestone on Mar 3, 2017
  2. smitpatel commented on Mar 11, 2017

    @smitpatel
    Contributor

    Just to expand on this for the processing of NullConditionalExpression
    It is being ignored in ExpressionVisitorBase from visiting. Also it blocks MemberAccessBindingExpressionVisitor deriving from ExpressionVisitorBase.

  3. maumar commented on Apr 13, 2017

    @maumar
    ContributorAuthor

    It should be OK. Stuff in Caller/NullableCaller is never acesssible from the final projection (the result is either access operation or null)

  4. removed this from the milestone on May 9, 2017
  5. added theissue type on Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions