Ryan Williams created BEAM-6518:
-----------------------------------

             Summary: Substring-matching bug in Python metrics filtering
                 Key: BEAM-6518
                 URL: https://issues.apache.org/jira/browse/BEAM-6518
             Project: Beam
          Issue Type: Bug
          Components: sdk-py-core
    Affects Versions: 2.9.0
            Reporter: Ryan Williams
            Assignee: Ryan Williams


{{[MetricResults._matches_sub_path|https://github.com/apache/beam/blob/5b46b02b49ca1c5c18682427a5a4a25596ca4287/sdks/python/apache_beam/metrics/metric.py#L152-L163]}}
 can be fooled into a false-negative if a path component before the one it is 
looking for is a superstring of the one it's looking for.

It's not particularly likely to happen, but worth fixing anyway.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to