Implement TextIntenderWalker visitor's pre/post/in visit() methods for $encStrNormalizedEq

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Goals for this task:

      Implement visit(ExpressionEncStrNormalizedEq*) in our IntentionPreVisitor specialization.
      Implement visit(ExpressionEncStrNormalizedEq*) in IntentionInVisitorBase.
      Implement visit(ExpressionEncStrNormalizedEq*) in IntentionPostVisitorBase.
      Performing the above items should result in the constant literal value in ExpressionEncStrNormalizedEq being replaced with the placeholder.

      Testing:

      Sanity check test, can we add a test in fle/agg.js or fle/find.js which checks that we can't use $encStrNormalizedEq a FLE1 encryption schema?
      Expression_analysis_test.cpp: Add test to EvaluatedExpressionsCorrectlyReturnNotEncrypted which checks that new expressions return an unencrypted value (i.e evaluates to bool).
      Fle_match_expression_test.cpp: Here we can add unit tests for checking that ExpressionEncStrNormalizedEq gets replaced with a placeholder by FLEMatchExpression.
      We can add query analysis jstests in a follow-up ticket.

              Assignee:
              Finley Lau
              Reporter:
              Santiago Roche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: