[
https://issues.apache.org/jira/browse/BEAM-6518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maximilian Michels closed BEAM-6518.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.11.0
> 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
> Priority: Trivial
> Fix For: 2.11.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> {{[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)