Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-17781

Timing metadata sometimes stringly typed

    Details

    • Type: Bug
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ap_verify, pipe_base
    • Labels:
      None

      Description

      While testing ap_verify.measurements.TimingMetricTask for DM-16536, I found that I could not safely extract the "StartCpuTime" and "EndCpuTime" metadata values using PropertySet.getScalar, because the times were sometimes stored as floats and sometimes as strings:

      Key = 'fringe.runStartCpuTime' -> 5.947655 ('Double')
      Key = 'fringe.runEndCpuTime' -> '6.232034' ('String')
      

      I've confirmed that even PropertySet.typeOf thinks that EndCpuTime should be a string in this example.

      Find out what causes some keys to be stored as strings, and fix it.

        Attachments

          Issue Links

            Activity

            Hide
            krzys Krzysztof Findeisen added a comment -

            Never mind, I misunderstood which test case was being run. There is no bug.

            Show
            krzys Krzysztof Findeisen added a comment - Never mind, I misunderstood which test case was being run. There is no bug.

              People

              • Assignee:
                krzys Krzysztof Findeisen
                Reporter:
                krzys Krzysztof Findeisen
                Watchers:
                Krzysztof Findeisen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel