You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(eap-spans): formulas should not have labels within them (#89477)
It appears that if we use the same label names between multiple
expressions, even within child labels (labelA and labelC in the example
below), snuba will treat those expressions as the same. We could
dynamically create labels to avoid duplicates, but as I can't seem to
see any benefit to "child" labels.
This PR removes all child labels within formulas.
```python
Expression(
formula=Expression.BinaryFormula(
left=Expression(..., label="labelA") # Label A must be completely unique across all expressions in the request
op=divide
right=Expression(..., label="labelB") # Label B must be completely unique across all expressions in the request
)
label="labelC" # Label C must be completely unique across all expressions in the request
)
```
0 commit comments