[Join Optimization] Autoparameterizing cache key generation

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Implement makeJoinPlanCacheKey(const JoinGraph&) that serializes a normalized, parameterized join graph to an opaque string.

      Pseudocode:

      • Parameterize MatchExpressions
      • Serialize nodes in ascending nodeId order: for each node emit nodeId:nss:parameterized_match_expr_shape
      • Serialize edges in ascending edgeId order: for each each emit leftId:rightId:leftPath:rightPath:joinPredOperator

      This can be unit tested independently.

            Assignee:
            Ben Shteinfeld
            Reporter:
            Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: