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

PartitionSenderRootExec is missing some stats

    XMLWordPrintableJSON

    Details

      Description

      Metrics MIN_RECORDS, MAX_RECORDS and N_RECEIVERS are not available in operator profile and BATCHES_SENT doesn't include the empty schema batches sent.

      Example profile for query select sales_city, count(*) from cp.`region.json` group by sales_city; with slice_count set to 1.

      "operatorId": 0,
      "operatorType": 6,
      "setupNanos": 0,
      "processNanos": 55036000,
      "peakLocalMemoryAllocated": 43018,
      "metric": [
         {
            "metricId": 0,
            "longValue": 1
         },
         {
            "metricId": 1,
            "longValue": 109
         },
         {
            "metricId": 5,
            "longValue": 2366
         }
      ],
      

      Metrics and Ids

      BATCHES_SENT = 0
      RECORDS_SENT = 1
      MIN_RECORDS = 2
      MAX_RECORDS = 3
      N_RECEIVERS = 4
      BYTES_SENT = 5
      

        Attachments

        1. DRILL-2225-1.patch
          3 kB
          Venki Korukanti
        2. DRILL-2225-2.patch
          5 kB
          Venki Korukanti

          Activity

            People

            • Assignee:
              vkorukanti Venki Korukanti
              Reporter:
              vkorukanti Venki Korukanti
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: