{
    "type": "index_parallel",
    "id": "index_parallel_stats_ANONYMIZED_50M_HASHED_GENERICID_2025-08-20T17:08:06.389Z_userA",
    "groupId": "index_parallel_stats_ANONYMIZED_50M_HASHED_GENERICID_2025-08-20T17:08:06.389Z_userA",
    "resource": {
      "availabilityGroup": "index_parallel_stats_ANONYMIZED_50M_HASHED_GENERICID_2025-08-20T17:08:06.389Z_userA",
      "requiredCapacity": 1
    },
    "spec": {
      "dataSchema": {
        "dataSource": "stats_ANONYMIZED_50M_HASHED_GENERICID",
        "timestampSpec": {
          "column": "__time",
          "format": "auto",
          "missingValue": null
        },
        "dimensionsSpec": {
          "dimensions": [
            {"type": "string", "name": "advertiser_categoryId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "advertiserId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "auctionId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "buyerId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "countryId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "deviceId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "formatId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "publisherId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "auction_typeId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "auction_outcomeId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "ad_networkId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "addressableId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "app_bundleId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "app_store_urlId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "bid_price_bucketId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "bid_response_statusId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "bid_statusId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "creative_durationId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "delivery_methodId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "device_global_regionId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "device_metroId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "device_osId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "distributorId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "market_nameId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "packageId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "protocolId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "gdprId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "gdpr_consentId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "station_appId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "station_domainId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "dspId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "series_titleId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "station_languageId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "user_ageId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "user_genderId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "app_or_siteId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "creative_iab_catId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "region_nameId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "market_typeId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "contract_nameId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true},
            {"type": "string", "name": "inventory_owner_nameId", "multiValueHandling": "SORTED_ARRAY", "createBitmapIndex": true}
          ],
          "dimensionExclusions": [
            "date",
            "clearPrice",
            "device_languageId",
            "orderId",
            "datacenterId",
            "device_zipId",
            "station_formatId",
            "sum_impsViewed",
            "revenue",
            "sum_impressions",
            "winning_iab_catId",
            "sum_bidRequests",
            "wins",
            "__time",
            "coppaId",
            "costMargin",
            "campaignId",
            "count",
            "sum_impsViewedEligible",
            "bidTimeout",
            "in_marketId",
            "validBid",
            "bidRequests",
            "sum_bidResponses",
            "noBid",
            "vt",
            "sspId",
            "impsViewedEligible",
            "placementId",
            "bidResponses",
            "error",
            "bidError",
            "creativeId",
            "device_dmaId",
            "sum_vt",
            "station_idId",
            "us_privacyId",
            "adNetworkClearPrice",
            "bid_response_throttled",
            "device_regionId",
            "mediaCost",
            "error_detailId",
            "impsViewed",
            "revenue_usd",
            "ad_unitId",
            "noBidResponse",
            "impressions",
            "regionId",
            "sum_clicks",
            "contractId",
            "clicks",
            "revenue_net",
            "inventory_ownerId",
            "revenue_usd_net",
            "adRequests",
            "creative_languageId"
          ],
          "includeAllDimensions": false,
          "useSchemaDiscovery": false
        },
        "metricsSpec": [
          {"type": "longSum", "name": "bidRequests", "fieldName": "bidRequests"},
          {"type": "longSum", "name": "bidResponses", "fieldName": "bidResponses"},
          {"type": "longSum", "name": "clicks", "fieldName": "clicks"},
          {"type": "longSum", "name": "impressions", "fieldName": "impressions"},
          {"type": "longSum", "name": "impsViewed", "fieldName": "impsViewed"},
          {"type": "longSum", "name": "impsViewedEligible", "fieldName": "impsViewedEligible"},
          {"type": "longSum", "name": "vt", "fieldName": "vt"},
          {"type": "longSum", "name": "error", "fieldName": "error"},
          {"type": "floatSum", "name": "revenue", "fieldName": "revenue"},
          {"type": "floatSum", "name": "revenue_usd", "fieldName": "revenue_usd"},
          {"type": "floatSum", "name": "revenue_net", "fieldName": "revenue_net"},
          {"type": "floatSum", "name": "revenue_usd_net", "fieldName": "revenue_usd_net"},
          {"type": "floatSum", "name": "costMargin", "fieldName": "costMargin"},
          {"type": "longSum", "name": "adRequests", "fieldName": "adRequests"},
          {"type": "longSum", "name": "bidError", "fieldName": "bidError"},
          {"type": "longSum", "name": "bidTimeout", "fieldName": "bidTimeout"},
          {"type": "longSum", "name": "noBid", "fieldName": "noBid"},
          {"type": "longSum", "name": "validBid", "fieldName": "validBid"},
          {"type": "longSum", "name": "wins", "fieldName": "wins"},
          {"type": "floatSum", "name": "clearPrice", "fieldName": "clearPrice"},
          {"type": "floatSum", "name": "mediaCost", "fieldName": "mediaCost"},
          {"type": "floatSum", "name": "adNetworkClearPrice", "fieldName": "adNetworkClearPrice"},
          {"type": "longSum", "name": "noBidResponse", "fieldName": "noBidResponse"}
        ],
        "granularitySpec": {
          "type": "uniform",
          "segmentGranularity": "HOUR",
          "queryGranularity": "HOUR",
          "rollup": true,
          "intervals": []
        },
        "transformSpec": {
          "filter": null,
          "transforms": []
        }
      },
      "ioConfig": {
        "type": "index_parallel",
        "inputSource": {
          "type": "druid",
          "dataSource": "stats_ANONYMIZED_GENERICID",
          "interval": "2025-05-01T00:00:00.000Z/2025-05-02T00:00:00.000Z"
        },
        "inputFormat": null,
        "appendToExisting": false,
        "dropExisting": false
      },
      "tuningConfig": {
        "type": "index_parallel",
        "maxRowsPerSegment": 50000000,
        "appendableIndexSpec": {
          "type": "onheap",
          "preserveExistingMetrics": false
        },
        "maxRowsInMemory": 1000000,
        "maxBytesInMemory": 1073741824,
        "skipBytesInMemoryOverheadCheck": false,
        "maxTotalRows": null,
        "numShards": null,
        "splitHintSpec": {
          "type": "maxSize",
          "maxSplitSize": 100000000,
          "maxNumFiles": 1000
        },
        "partitionsSpec": {
          "type": "hashed",
          "numShards": null,
          "partitionDimensions": [
            "bid_response_statusId",
            "publisherId"
          ],
          "partitionFunction": "murmur3_32_abs",
          "maxRowsPerSegment": 50000000
        },
        "indexSpec": {
          "bitmap": {
            "type": "concise"
          },
          "dimensionCompression": "lz4",
          "stringDictionaryEncoding": {
            "type": "utf8"
          },
          "metricCompression": "lz4",
          "longEncoding": "longs"
        },
        "indexSpecForIntermediatePersists": {
          "bitmap": {
            "type": "concise"
          },
          "dimensionCompression": "lz4",
          "stringDictionaryEncoding": {
            "type": "utf8"
          },
          "metricCompression": "lz4",
          "longEncoding": "longs"
        },
        "maxPendingPersists": 0,
        "forceGuaranteedRollup": true,
        "reportParseExceptions": false,
        "pushTimeout": 300000,
        "segmentWriteOutMediumFactory": null,
        "maxNumConcurrentSubTasks": 50,
        "maxRetry": 10,
        "taskStatusCheckPeriodMs": 10000,
        "chatHandlerTimeout": "PT180S",
        "chatHandlerNumRetries": 30,
        "maxNumSegmentsToMerge": 50,
        "totalNumMergeTasks": 4,
        "logParseExceptions": true,
        "maxParseExceptions": 100,
        "maxSavedParseExceptions": 10,
        "maxColumnsToMerge": -1,
        "awaitSegmentAvailabilityTimeoutMillis": 900000,
        "maxAllowedLockCount": -1,
        "partitionDimensions": [
          "bid_response_statusId",
          "publisherId"
        ]
      }
    },
    "context": {
      "numConcurrentMerges": 2,
      "taskTimeout": "PT8H",
      "httpTimeout": "PT15M",
      "forceTimeChunkLock": true,
      "maxParallelSubTasks": 50,
      "useLineageBasedSegmentAllocation": false,
      "httpRetryMaxDelay": "PT120S",
      "maxRowsInAppenderatorMemory": 500000,
      "priority": 50,
      "httpRetryInitialDelay": "PT10S",
      "maxRetries": 15,
      "httpNumRetries": 15,
      "coordinatorPollRetryDelay": "PT60S",
      "intermediatePersistPeriod": "PT30M",
      "chatRetryDelay": "PT15S"
    },
    "dataSource": "stats_ANONYMIZED_50M_HASHED_GENERICID"
}
