Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5872

Deserialization of profile JSON fails due to totalCost being reported as "NaN"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 1.12.0
    • Fix Version/s: 1.12.0
    • Component/s: None
    • Labels:
      None

      Description

      With DRILL-5716 , there is a change in the protobuf that introduces a new attribute in the JSON document that Drill uses to interpret and render the profile's details.
      The totalCost attribute, used as a part of showing the query cost (to understand how it was assign to small/large queue), sometimes returns a non-numeric text value "NaN".

      This breaks the UI with the messages:

      Failed to get profiles:
      unable to deserialize value at key 2620698f-295e-f8d3-3ab7-01792b0f2669
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Paul.Rogers Paul Rogers
                Reporter:
                kkhatua Kunal Khatua
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: