Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6518

Substring-matching bug in Python metrics filtering

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.11.0
    • Component/s: sdk-py-core
    • Labels:
      None

      Description

      MetricResults._matches_sub_path 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rdub Ryan Williams
                Reporter:
                rdub Ryan Williams
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h