== Physical Plan ==
AdaptiveSparkPlan (30)
+- == Final Plan ==
ResultQueryStage (2), Statistics(sizeInBytes=8.0 EiB)
+- EmptyRelation (1)
+- LogicalQueryStage (unknown)
+- == Initial Plan ==
HashAggregate (29)
+- Exchange (28)
+- HashAggregate (27)
+- Project (26)
+- Filter (25)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (24)
+- == Final Plan ==
ResultQueryStage (22)
+- * Project (21)
+- TableCacheQueryStage (20), Statistics(sizeInBytes=14.7 MiB)
+- InMemoryTableScan (5)
+- InMemoryRelation (6)
+- AdaptiveSparkPlan (19)
+- == Final Plan ==
ResultQueryStage (14)
+- * Project (13)
+- ShuffleQueryStage (12), Statistics(sizeInBytes=144.4 MiB, rowCount=1.11E+5)
+- Exchange (11)
+- * Project (10)
+- * Filter (9)
+- * ColumnarToRow (8)
+- Scan parquet (7)
+- == Initial Plan ==
Project (18)
+- Exchange (17)
+- Project (16)
+- Filter (15)
+- Scan parquet (7)
+- == Initial Plan ==
Project (23)
+- InMemoryTableScan (5)
+- InMemoryRelation (6)
+- AdaptiveSparkPlan (19)
+- == Final Plan ==
ResultQueryStage (14)
+- * Project (13)
+- ShuffleQueryStage (12), Statistics(sizeInBytes=144.4 MiB, rowCount=1.11E+5)
+- Exchange (11)
+- * Project (10)
+- * Filter (9)
+- * ColumnarToRow (8)
+- Scan parquet (7)
+- == Initial Plan ==
Project (18)
+- Exchange (17)
+- Project (16)
+- Filter (15)
+- Scan parquet (7)
(1) EmptyRelation
Output [1]: [shardId#3509062]
Arguments: [plan_id=1006103]
(2) ResultQueryStage
Output [1]: [shardId#3509062]
Arguments: 2
(3) InMemoryTableScan
Output [2]: [shardId#3509062, version#3511831]
Arguments: [shardId#3509062, version#3511831], [(version#3511831 > 0)]
(4) InMemoryRelation
Arguments: [shardId#3509062, worklistShardItemId#3509063L, product#3509077, plant#3509078, periodStart#3511832, periodEnd#3511833, version#3511831, qty#3511834], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [6]: [availabilityDateTime#3298265, nextAvailabilityDateTime#3298266, plant#3298259, product#3298258, shardId#3298243, worklistShardItemId#3298244L]
Arguments: [availabilityDateTime#3298265, nextAvailabilityDateTime#3298266, plant#3298259, product#3298258, shardId#3298243, worklistShardItemId#3298244L]
(6) InMemoryRelation
Arguments: [shardId#3298243, worklistShardItemId#3298244L, orderProposalId#3298245L, orderProposalItemId#3298246, orderProposalItemGroupId#3298247, originalReplenishmentRunId#3298248L, orderProposalHorizonGroupingId#3298249L, splitIndicator#3298250L, previousOrderProposal#3298251L, clusterId#3298252L, sequenceId#3298253L, sourceOfSupplyUuid#3298254, supplierGroup#3298255, supplier#3298256, subrange#3298257, product#3298258, plant#3298259, purchasingOrg#3298260, purchasingGroup#3298261, mrpController#3298262, orderDateTime#3298263, deliveryDateTime#3298264, availabilityDateTime#3298265, nextAvailabilityDateTime#3298266, isFallbackOrderOnly#3298267, ... 20 more fields], StorageLevel(disk, memory, 2 replicas)
(7) Scan parquet
Output [45]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650, shardId#3298651, sequenceId#3298629]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000000532]
PartitionFilters: [isnotnull(shardId#3298651), isnotnull(sequenceId#3298629), (shardId#3298651 = 0_2_10000000532), (sequenceId#3298629 = 6)]
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>>
(8) ColumnarToRow [codegen id : 1]
Input [45]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650, shardId#3298651, sequenceId#3298629]
(9) Filter [codegen id : 1]
Input [45]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650, shardId#3298651, sequenceId#3298629]
Condition : ((isnotnull(availabilityDateTime#3298618) AND isnotnull(nextAvailabilityDateTime#3298619)) AND (nextAvailabilityDateTime#3298619 > availabilityDateTime#3298618))
(10) Project [codegen id : 1]
Output [44]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, sequenceId#3298629, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650]
Input [45]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650, shardId#3298651, sequenceId#3298629]
(11) Exchange
Input [44]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, sequenceId#3298629, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650]
Arguments: hashpartitioning(worklistShardItemId#3298630L, 37), REPARTITION_BY_NUM, [plan_id=951706]
(12) ShuffleQueryStage
Output [44]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, sequenceId#3298629, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650]
Arguments: 0
(13) Project [codegen id : 2]
Output [45]: [0_2_10000000532 AS shardId#3298243, worklistShardItemId#3298630L, orderProposalId#3298607L, orderProposalItemId#3298608, orderProposalItemGroupId#3298631, originalReplenishmentRunId#3298649L, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, cast(sequenceId#3298629 as bigint) AS sequenceId#3298253L, sourceOfSupplyUuid#3298621, supplierGroup#3298609, supplier#3298610, subrange#3298613, product#3298616, plant#3298611, purchasingOrg#3298622, purchasingGroup#3298623, mrpController#3298620, orderDateTime#3298617, deliveryDateTime#3298612, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, isFallbackOrderOnly#3298624, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, netPriceAmount#3298643, netPriceCurrencyCode#3298644, measurements#3298648, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintRanks#3298641, constraintValues#3298640, constraintIsActive#3298642, logisticUnits#3298634, optimizationGroups#3298650, externalProductId#3298632, externalPlantId#3298633, supplyingPlant#3298614, productGroup#3298615]
Input [44]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, sequenceId#3298629, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650]
(14) ResultQueryStage
Output [45]: [shardId#3298243, worklistShardItemId#3298630L, orderProposalId#3298607L, orderProposalItemId#3298608, orderProposalItemGroupId#3298631, originalReplenishmentRunId#3298649L, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, sequenceId#3298253L, sourceOfSupplyUuid#3298621, supplierGroup#3298609, supplier#3298610, subrange#3298613, product#3298616, plant#3298611, purchasingOrg#3298622, purchasingGroup#3298623, mrpController#3298620, orderDateTime#3298617, deliveryDateTime#3298612, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, isFallbackOrderOnly#3298624, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, netPriceAmount#3298643, netPriceCurrencyCode#3298644, measurements#3298648, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintRanks#3298641, constraintValues#3298640, constraintIsActive#3298642, logisticUnits#3298634, optimizationGroups#3298650, externalProductId#3298632, externalPlantId#3298633, supplyingPlant#3298614, productGroup#3298615]
Arguments: 1
(15) Filter
Input [45]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650, shardId#3298651, sequenceId#3298629]
Condition : ((isnotnull(availabilityDateTime#3298618) AND isnotnull(nextAvailabilityDateTime#3298619)) AND (nextAvailabilityDateTime#3298619 > availabilityDateTime#3298618))
(16) Project
Output [44]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, sequenceId#3298629, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650]
Input [45]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650, shardId#3298651, sequenceId#3298629]
(17) Exchange
Input [44]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, sequenceId#3298629, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650]
Arguments: hashpartitioning(worklistShardItemId#3298630L, 37), REPARTITION_BY_NUM, [plan_id=951678]
(18) Project
Output [45]: [0_2_10000000532 AS shardId#3298243, worklistShardItemId#3298630L, orderProposalId#3298607L, orderProposalItemId#3298608, orderProposalItemGroupId#3298631, originalReplenishmentRunId#3298649L, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, cast(sequenceId#3298629 as bigint) AS sequenceId#3298253L, sourceOfSupplyUuid#3298621, supplierGroup#3298609, supplier#3298610, subrange#3298613, product#3298616, plant#3298611, purchasingOrg#3298622, purchasingGroup#3298623, mrpController#3298620, orderDateTime#3298617, deliveryDateTime#3298612, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, isFallbackOrderOnly#3298624, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, netPriceAmount#3298643, netPriceCurrencyCode#3298644, measurements#3298648, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintRanks#3298641, constraintValues#3298640, constraintIsActive#3298642, logisticUnits#3298634, optimizationGroups#3298650, externalProductId#3298632, externalPlantId#3298633, supplyingPlant#3298614, productGroup#3298615]
Input [44]: [orderProposalId#3298607L, orderProposalItemId#3298608, supplierGroup#3298609, supplier#3298610, plant#3298611, deliveryDateTime#3298612, subrange#3298613, supplyingPlant#3298614, productGroup#3298615, product#3298616, orderDateTime#3298617, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, mrpController#3298620, sourceOfSupplyUuid#3298621, purchasingOrg#3298622, purchasingGroup#3298623, isFallbackOrderOnly#3298624, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, sequenceId#3298629, worklistShardItemId#3298630L, orderProposalItemGroupId#3298631, externalProductId#3298632, externalPlantId#3298633, logisticUnits#3298634, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintValues#3298640, constraintRanks#3298641, constraintIsActive#3298642, netPriceAmount#3298643, netPriceCurrencyCode#3298644, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, measurements#3298648, originalReplenishmentRunId#3298649L, optimizationGroups#3298650]
(19) AdaptiveSparkPlan
Output [45]: [shardId#3298243, worklistShardItemId#3298630L, orderProposalId#3298607L, orderProposalItemId#3298608, orderProposalItemGroupId#3298631, originalReplenishmentRunId#3298649L, orderProposalHorizonGroupingId#3298625L, splitIndicator#3298626L, previousOrderProposal#3298627L, clusterId#3298628L, sequenceId#3298253L, sourceOfSupplyUuid#3298621, supplierGroup#3298609, supplier#3298610, subrange#3298613, product#3298616, plant#3298611, purchasingOrg#3298622, purchasingGroup#3298623, mrpController#3298620, orderDateTime#3298617, deliveryDateTime#3298612, availabilityDateTime#3298618, nextAvailabilityDateTime#3298619, isFallbackOrderOnly#3298624, orderQuantityBaseUom#3298635, orderQuantityBaseUomUuid#3298636, netPriceQuantity#3298645, netPriceQuantityUom#3298646, netPriceQuantityUomUuid#3298647, netPriceAmount#3298643, netPriceCurrencyCode#3298644, measurements#3298648, minimumOrderQuantity#3298637, constraintLabels#3298638, constraintOperators#3298639, constraintRanks#3298641, constraintValues#3298640, constraintIsActive#3298642, logisticUnits#3298634, optimizationGroups#3298650, externalProductId#3298632, externalPlantId#3298633, supplyingPlant#3298614, productGroup#3298615]
Arguments: isFinalPlan=true
(20) TableCacheQueryStage
Output [6]: [availabilityDateTime#3298265, nextAvailabilityDateTime#3298266, plant#3298259, product#3298258, shardId#3298243, worklistShardItemId#3298244L]
Arguments: 0
(21) Project [codegen id : 1]
Output [8]: [shardId#3298243, worklistShardItemId#3298244L, product#3298258, plant#3298259, availabilityDateTime#3298265 AS periodStart#3303646, nextAvailabilityDateTime#3298266 AS periodEnd#3303647, 0 AS version#3303645, null AS qty#3303648]
Input [6]: [availabilityDateTime#3298265, nextAvailabilityDateTime#3298266, plant#3298259, product#3298258, shardId#3298243, worklistShardItemId#3298244L]
(22) ResultQueryStage
Output [8]: [shardId#3298243, worklistShardItemId#3298244L, product#3298258, plant#3298259, periodStart#3303646, periodEnd#3303647, version#3303645, qty#3303648]
Arguments: 1
(23) Project
Output [8]: [shardId#3298243, worklistShardItemId#3298244L, product#3298258, plant#3298259, availabilityDateTime#3298265 AS periodStart#3303646, nextAvailabilityDateTime#3298266 AS periodEnd#3303647, 0 AS version#3303645, null AS qty#3303648]
Input [6]: [availabilityDateTime#3298265, nextAvailabilityDateTime#3298266, plant#3298259, product#3298258, shardId#3298243, worklistShardItemId#3298244L]
(24) AdaptiveSparkPlan
Output [8]: [shardId#3298243, worklistShardItemId#3298244L, product#3298258, plant#3298259, periodStart#3303646, periodEnd#3303647, version#3303645, qty#3303648]
Arguments: isFinalPlan=true
(25) Filter
Input [2]: [shardId#3509062, version#3511831]
Condition : (version#3511831 > 0)
(26) Project
Output [1]: [shardId#3509062]
Input [2]: [shardId#3509062, version#3511831]
(27) HashAggregate
Input [1]: [shardId#3509062]
Keys [1]: [shardId#3509062]
Functions: []
Aggregate Attributes: []
Results [1]: [shardId#3509062]
(28) Exchange
Input [1]: [shardId#3509062]
Arguments: hashpartitioning(shardId#3509062, 37), ENSURE_REQUIREMENTS, [plan_id=1006052]
(29) HashAggregate
Input [1]: [shardId#3509062]
Keys [1]: [shardId#3509062]
Functions: []
Aggregate Attributes: []
Results [1]: [shardId#3509062]
(30) AdaptiveSparkPlan
Output [1]: [shardId#3509062]
Arguments: isFinalPlan=true