druid/extensions-core
Kashif Faraz d6949b1b79
Track input processedBytes with MSQ ingestion (#13559)
Follow up to #13520

Bytes processed are currently tracked for intermediate stages in MSQ ingestion.
This patch adds the capability to track the bytes processed by an MSQ controller
task while reading from an external input source or a segment source.

Changes:
- Track `processedBytes` for every `InputSource` read in `ExternalInputSliceReader`
- Update `ChannelCounters` with the above obtained `processedBytes` when incrementing
the input file count.
- Update task report structure in docs

The total input processed bytes can be obtained by summing the `processedBytes` as follows:

totalBytes = 0
for every root stage (i.e. a stage which does not have another stage as an input):
    for every worker in that stage:
        for every input channel: (i.e. channels with prefix "input", e.g. "input0", "input1", etc.)
            totalBytes += processedBytes
2022-12-16 02:20:01 +05:30
..
avro-extensions add protobuf flattener, direct to plain java conversion for faster flattening (#13519) 2022-12-09 12:24:21 -08:00
azure-extensions Revert "Add filter in cloud object input source for backward compatibility (#13437)" (#13450) 2022-11-30 16:33:05 +05:30
datasketches Better error message when theta_sketch_intersect is used on scalar expression (#13508) 2022-12-07 09:35:43 +05:30
druid-aws-rds-extensions Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
druid-basic-security Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
druid-bloom-filter SQL test framework extensions (#13426) 2022-12-02 09:11:59 -08:00
druid-catalog Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
druid-kerberos Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
druid-pac4j Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
druid-ranger-security Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
ec2-extensions Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
google-extensions Add InputStats to track bytes processed by a task (#13520) 2022-12-13 18:54:42 +05:30
hdfs-storage Add InputStats to track bytes processed by a task (#13520) 2022-12-13 18:54:42 +05:30
histogram SQL test framework extensions (#13426) 2022-12-02 09:11:59 -08:00
kafka-extraction-namespace Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
kafka-indexing-service Add InputStats to track bytes processed by a task (#13520) 2022-12-13 18:54:42 +05:30
kinesis-indexing-service Add InputStats to track bytes processed by a task (#13520) 2022-12-13 18:54:42 +05:30
kubernetes-extensions update org.bouncycastle:bcprov-jdk15on 1.68 to 1.69 (#13440) 2022-11-30 21:57:38 +05:30
lookups-cached-global Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
lookups-cached-single Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
multi-stage-query Track input processedBytes with MSQ ingestion (#13559) 2022-12-16 02:20:01 +05:30
mysql-metadata-storage Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
orc-extensions add protobuf flattener, direct to plain java conversion for faster flattening (#13519) 2022-12-09 12:24:21 -08:00
parquet-extensions add protobuf flattener, direct to plain java conversion for faster flattening (#13519) 2022-12-09 12:24:21 -08:00
postgresql-metadata-storage Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
protobuf-extensions add protobuf flattener, direct to plain java conversion for faster flattening (#13519) 2022-12-09 12:24:21 -08:00
s3-extensions Add InputStats to track bytes processed by a task (#13520) 2022-12-13 18:54:42 +05:30
simple-client-sslcontext Prepare master branch for next release, 26.0.0 (#13401) 2022-11-22 15:31:01 +05:30
stats SQL test framework extensions (#13426) 2022-12-02 09:11:59 -08:00
testing-tools SQL test framework extensions (#13426) 2022-12-02 09:11:59 -08:00