== Physical Plan ==
AdaptiveSparkPlan (27)
+- == Final Plan ==
ResultQueryStage (25), Statistics(sizeInBytes=8.0 EiB)
+- CollectLimit (24)
+- TableCacheQueryStage (23), Statistics(sizeInBytes=24.6 KiB, rowCount=205)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- AdaptiveSparkPlan (22)
+- == Final Plan ==
ResultQueryStage (20)
+- * Project (19)
+- TableCacheQueryStage (18), Statistics(sizeInBytes=265.8 KiB, rowCount=205)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=295.0 KiB, rowCount=205)
+- Exchange (9)
+- * Project (8)
+- * Filter (7)
+- * ColumnarToRow (6)
+- Scan parquet (5)
+- == Initial Plan ==
Project (16)
+- Exchange (15)
+- Project (14)
+- Filter (13)
+- Scan parquet (5)
+- == Initial Plan ==
Project (21)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=295.0 KiB, rowCount=205)
+- Exchange (9)
+- * Project (8)
+- * Filter (7)
+- * ColumnarToRow (6)
+- Scan parquet (5)
+- == Initial Plan ==
Project (16)
+- Exchange (15)
+- Project (14)
+- Filter (13)
+- Scan parquet (5)
+- == Initial Plan ==
CollectLimit (26)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- AdaptiveSparkPlan (22)
+- == Final Plan ==
ResultQueryStage (20)
+- * Project (19)
+- TableCacheQueryStage (18), Statistics(sizeInBytes=265.8 KiB, rowCount=205)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=295.0 KiB, rowCount=205)
+- Exchange (9)
+- * Project (8)
+- * Filter (7)
+- * ColumnarToRow (6)
+- Scan parquet (5)
+- == Initial Plan ==
Project (16)
+- Exchange (15)
+- Project (14)
+- Filter (13)
+- Scan parquet (5)
+- == Initial Plan ==
Project (21)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=295.0 KiB, rowCount=205)
+- Exchange (9)
+- * Project (8)
+- * Filter (7)
+- * ColumnarToRow (6)
+- Scan parquet (5)
+- == Initial Plan ==
Project (16)
+- Exchange (15)
+- Project (14)
+- Filter (13)
+- Scan parquet (5)
(1) InMemoryTableScan
Output: []
(2) InMemoryRelation
Arguments: [shardId#682604, worklistShardItemId#682605L, product#682619, plant#682620, periodStart#684863, periodEnd#684864, version#684862, qty#684865], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [6]: [availabilityDateTime#682626, nextAvailabilityDateTime#682627, plant#682620, product#682619, shardId#682604, worklistShardItemId#682605L]
Arguments: [availabilityDateTime#682626, nextAvailabilityDateTime#682627, plant#682620, product#682619, shardId#682604, worklistShardItemId#682605L]
(4) InMemoryRelation
Arguments: [shardId#682604, worklistShardItemId#682605L, orderProposalId#682606L, orderProposalItemId#682607, orderProposalItemGroupId#682608, originalReplenishmentRunId#682609L, orderProposalHorizonGroupingId#682610L, splitIndicator#682611L, previousOrderProposal#682612L, clusterId#682613L, sequenceId#682614L, sourceOfSupplyUuid#682615, supplierGroup#682616, supplier#682617, subrange#682618, product#682619, plant#682620, purchasingOrg#682621, purchasingGroup#682622, mrpController#682623, orderDateTime#682624, deliveryDateTime#682625, availabilityDateTime#682626, nextAvailabilityDateTime#682627, isFallbackOrderOnly#682628, ... 20 more fields], StorageLevel(disk, memory, 2 replicas)
(5) Scan parquet
Output [45]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692, shardId#682693, sequenceId#682671]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002107]
PartitionFilters: [isnotnull(shardId#682693), isnotnull(sequenceId#682671), (shardId#682693 = 0_1_10000002107), (sequenceId#682671 = 5)]
PushedFilters: [IsNotNull(availabilityDateTime), IsNotNull(nextAvailabilityDateTime)]
ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,supplyingPlant:string,productGroup:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,mrpController:string,sourceOfSupplyUuid:string,purchasingOrg:string,purchasingGroup:string,isFallbackOrderOnly:boolean,orderProposalHorizonGroupingId:bigint,splitIndicator:bigint,previousOrderProposal:bigint,clusterId:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,externalProductId:string,externalPlantId:string,logisticUnits:array<struct<uom:string,uomUuid:string,numerator:int,denominator:int,isOrderUnit:boolean,isPreferred:boolean>>,orderQuantityBaseUom:string,orderQuantityBaseUomUuid:string,minimumOrderQuantity:double,constraintLabels:array<string>,constraintOperators:array<string>,constraintValues:array<double>,constraintRanks:array<int>,constraintIsActive:array<boolean>,netPriceAmount:double,netPriceCurrencyCode:string,netPriceQuantity:double,netPriceQuantityUom:string,netPriceQuantityUomUuid:string,measurements:array<struct<value:double,dimensionType:int,dimensionCode:string,dimensionCodeUuid:string,isoCode:string>>,originalReplenishmentRunId:bigint,optimizationGroups:array<string>>
(6) ColumnarToRow [codegen id : 1]
Input [45]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692, shardId#682693, sequenceId#682671]
(7) Filter [codegen id : 1]
Input [45]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692, shardId#682693, sequenceId#682671]
Condition : ((isnotnull(availabilityDateTime#682660) AND isnotnull(nextAvailabilityDateTime#682661)) AND (nextAvailabilityDateTime#682661 > availabilityDateTime#682660))
(8) Project [codegen id : 1]
Output [44]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, sequenceId#682671, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692]
Input [45]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692, shardId#682693, sequenceId#682671]
(9) Exchange
Input [44]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, sequenceId#682671, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692]
Arguments: hashpartitioning(worklistShardItemId#682672L, 25), REPARTITION_BY_NUM, [plan_id=276178]
(10) ShuffleQueryStage
Output [44]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, sequenceId#682671, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692]
Arguments: 0
(11) Project [codegen id : 2]
Output [45]: [0_1_10000002107 AS shardId#682604, worklistShardItemId#682672L, orderProposalId#682649L, orderProposalItemId#682650, orderProposalItemGroupId#682673, originalReplenishmentRunId#682691L, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, cast(sequenceId#682671 as bigint) AS sequenceId#682614L, sourceOfSupplyUuid#682663, supplierGroup#682651, supplier#682652, subrange#682655, product#682658, plant#682653, purchasingOrg#682664, purchasingGroup#682665, mrpController#682662, orderDateTime#682659, deliveryDateTime#682654, availabilityDateTime#682660, nextAvailabilityDateTime#682661, isFallbackOrderOnly#682666, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, netPriceAmount#682685, netPriceCurrencyCode#682686, measurements#682690, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintRanks#682683, constraintValues#682682, constraintIsActive#682684, logisticUnits#682676, optimizationGroups#682692, externalProductId#682674, externalPlantId#682675, supplyingPlant#682656, productGroup#682657]
Input [44]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, sequenceId#682671, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692]
(12) ResultQueryStage
Output [45]: [shardId#682604, worklistShardItemId#682672L, orderProposalId#682649L, orderProposalItemId#682650, orderProposalItemGroupId#682673, originalReplenishmentRunId#682691L, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, sequenceId#682614L, sourceOfSupplyUuid#682663, supplierGroup#682651, supplier#682652, subrange#682655, product#682658, plant#682653, purchasingOrg#682664, purchasingGroup#682665, mrpController#682662, orderDateTime#682659, deliveryDateTime#682654, availabilityDateTime#682660, nextAvailabilityDateTime#682661, isFallbackOrderOnly#682666, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, netPriceAmount#682685, netPriceCurrencyCode#682686, measurements#682690, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintRanks#682683, constraintValues#682682, constraintIsActive#682684, logisticUnits#682676, optimizationGroups#682692, externalProductId#682674, externalPlantId#682675, supplyingPlant#682656, productGroup#682657]
Arguments: 1
(13) Filter
Input [45]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692, shardId#682693, sequenceId#682671]
Condition : ((isnotnull(availabilityDateTime#682660) AND isnotnull(nextAvailabilityDateTime#682661)) AND (nextAvailabilityDateTime#682661 > availabilityDateTime#682660))
(14) Project
Output [44]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, sequenceId#682671, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692]
Input [45]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692, shardId#682693, sequenceId#682671]
(15) Exchange
Input [44]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, sequenceId#682671, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692]
Arguments: hashpartitioning(worklistShardItemId#682672L, 25), REPARTITION_BY_NUM, [plan_id=276150]
(16) Project
Output [45]: [0_1_10000002107 AS shardId#682604, worklistShardItemId#682672L, orderProposalId#682649L, orderProposalItemId#682650, orderProposalItemGroupId#682673, originalReplenishmentRunId#682691L, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, cast(sequenceId#682671 as bigint) AS sequenceId#682614L, sourceOfSupplyUuid#682663, supplierGroup#682651, supplier#682652, subrange#682655, product#682658, plant#682653, purchasingOrg#682664, purchasingGroup#682665, mrpController#682662, orderDateTime#682659, deliveryDateTime#682654, availabilityDateTime#682660, nextAvailabilityDateTime#682661, isFallbackOrderOnly#682666, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, netPriceAmount#682685, netPriceCurrencyCode#682686, measurements#682690, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintRanks#682683, constraintValues#682682, constraintIsActive#682684, logisticUnits#682676, optimizationGroups#682692, externalProductId#682674, externalPlantId#682675, supplyingPlant#682656, productGroup#682657]
Input [44]: [orderProposalId#682649L, orderProposalItemId#682650, supplierGroup#682651, supplier#682652, plant#682653, deliveryDateTime#682654, subrange#682655, supplyingPlant#682656, productGroup#682657, product#682658, orderDateTime#682659, availabilityDateTime#682660, nextAvailabilityDateTime#682661, mrpController#682662, sourceOfSupplyUuid#682663, purchasingOrg#682664, purchasingGroup#682665, isFallbackOrderOnly#682666, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, sequenceId#682671, worklistShardItemId#682672L, orderProposalItemGroupId#682673, externalProductId#682674, externalPlantId#682675, logisticUnits#682676, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintValues#682682, constraintRanks#682683, constraintIsActive#682684, netPriceAmount#682685, netPriceCurrencyCode#682686, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, measurements#682690, originalReplenishmentRunId#682691L, optimizationGroups#682692]
(17) AdaptiveSparkPlan
Output [45]: [shardId#682604, worklistShardItemId#682672L, orderProposalId#682649L, orderProposalItemId#682650, orderProposalItemGroupId#682673, originalReplenishmentRunId#682691L, orderProposalHorizonGroupingId#682667L, splitIndicator#682668L, previousOrderProposal#682669L, clusterId#682670L, sequenceId#682614L, sourceOfSupplyUuid#682663, supplierGroup#682651, supplier#682652, subrange#682655, product#682658, plant#682653, purchasingOrg#682664, purchasingGroup#682665, mrpController#682662, orderDateTime#682659, deliveryDateTime#682654, availabilityDateTime#682660, nextAvailabilityDateTime#682661, isFallbackOrderOnly#682666, orderQuantityBaseUom#682677, orderQuantityBaseUomUuid#682678, netPriceQuantity#682687, netPriceQuantityUom#682688, netPriceQuantityUomUuid#682689, netPriceAmount#682685, netPriceCurrencyCode#682686, measurements#682690, minimumOrderQuantity#682679, constraintLabels#682680, constraintOperators#682681, constraintRanks#682683, constraintValues#682682, constraintIsActive#682684, logisticUnits#682676, optimizationGroups#682692, externalProductId#682674, externalPlantId#682675, supplyingPlant#682656, productGroup#682657]
Arguments: isFinalPlan=true
(18) TableCacheQueryStage
Output [6]: [availabilityDateTime#682626, nextAvailabilityDateTime#682627, plant#682620, product#682619, shardId#682604, worklistShardItemId#682605L]
Arguments: 0
(19) Project [codegen id : 1]
Output [8]: [shardId#682604, worklistShardItemId#682605L, product#682619, plant#682620, availabilityDateTime#682626 AS periodStart#684863, nextAvailabilityDateTime#682627 AS periodEnd#684864, 0 AS version#684862, null AS qty#684865]
Input [6]: [availabilityDateTime#682626, nextAvailabilityDateTime#682627, plant#682620, product#682619, shardId#682604, worklistShardItemId#682605L]
(20) ResultQueryStage
Output [8]: [shardId#682604, worklistShardItemId#682605L, product#682619, plant#682620, periodStart#684863, periodEnd#684864, version#684862, qty#684865]
Arguments: 1
(21) Project
Output [8]: [shardId#682604, worklistShardItemId#682605L, product#682619, plant#682620, availabilityDateTime#682626 AS periodStart#684863, nextAvailabilityDateTime#682627 AS periodEnd#684864, 0 AS version#684862, null AS qty#684865]
Input [6]: [availabilityDateTime#682626, nextAvailabilityDateTime#682627, plant#682620, product#682619, shardId#682604, worklistShardItemId#682605L]
(22) AdaptiveSparkPlan
Output [8]: [shardId#682604, worklistShardItemId#682605L, product#682619, plant#682620, periodStart#684863, periodEnd#684864, version#684862, qty#684865]
Arguments: isFinalPlan=true
(23) TableCacheQueryStage
Output: []
Arguments: 0
(24) CollectLimit
Input: []
Arguments: 1
(25) ResultQueryStage
Output: []
Arguments: 1
(26) CollectLimit
Input: []
Arguments: 1
(27) AdaptiveSparkPlan
Output: []
Arguments: isFinalPlan=true