== Physical Plan ==
AdaptiveSparkPlan (27)
+- == Final Plan ==
ResultQueryStage (25), Statistics(sizeInBytes=8.0 EiB)
+- CollectLimit (24)
+- TableCacheQueryStage (23), Statistics(sizeInBytes=984.0 B, rowCount=8)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- AdaptiveSparkPlan (22)
+- == Final Plan ==
ResultQueryStage (20)
+- * Project (19)
+- TableCacheQueryStage (18), Statistics(sizeInBytes=12.3 KiB, rowCount=8)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=13.5 KiB, rowCount=8)
+- 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=13.5 KiB, rowCount=8)
+- 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=12.3 KiB, rowCount=8)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=13.5 KiB, rowCount=8)
+- 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=13.5 KiB, rowCount=8)
+- 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#922933, worklistShardItemId#922934L, product#922948, plant#922949, periodStart#925360, periodEnd#925361, version#925359, qty#925362], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [6]: [availabilityDateTime#922955, nextAvailabilityDateTime#922956, plant#922949, product#922948, shardId#922933, worklistShardItemId#922934L]
Arguments: [availabilityDateTime#922955, nextAvailabilityDateTime#922956, plant#922949, product#922948, shardId#922933, worklistShardItemId#922934L]
(4) InMemoryRelation
Arguments: [shardId#922933, worklistShardItemId#922934L, orderProposalId#922935L, orderProposalItemId#922936, orderProposalItemGroupId#922937, originalReplenishmentRunId#922938L, orderProposalHorizonGroupingId#922939L, splitIndicator#922940L, previousOrderProposal#922941L, clusterId#922942L, sequenceId#922943L, sourceOfSupplyUuid#922944, supplierGroup#922945, supplier#922946, subrange#922947, product#922948, plant#922949, purchasingOrg#922950, purchasingGroup#922951, mrpController#922952, orderDateTime#922953, deliveryDateTime#922954, availabilityDateTime#922955, nextAvailabilityDateTime#922956, isFallbackOrderOnly#922957, ... 20 more fields], StorageLevel(disk, memory, 2 replicas)
(5) Scan parquet
Output [45]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021, shardId#923022, sequenceId#923000]
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/10000002110]
PartitionFilters: [isnotnull(shardId#923022), isnotnull(sequenceId#923000), (shardId#923022 = 0_1_10000002110), (sequenceId#923000 = 0)]
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#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021, shardId#923022, sequenceId#923000]
(7) Filter [codegen id : 1]
Input [45]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021, shardId#923022, sequenceId#923000]
Condition : ((isnotnull(availabilityDateTime#922989) AND isnotnull(nextAvailabilityDateTime#922990)) AND (nextAvailabilityDateTime#922990 > availabilityDateTime#922989))
(8) Project [codegen id : 1]
Output [44]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, sequenceId#923000, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021]
Input [45]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021, shardId#923022, sequenceId#923000]
(9) Exchange
Input [44]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, sequenceId#923000, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021]
Arguments: hashpartitioning(worklistShardItemId#923001L, 25), REPARTITION_BY_NUM, [plan_id=363930]
(10) ShuffleQueryStage
Output [44]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, sequenceId#923000, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021]
Arguments: 0
(11) Project [codegen id : 2]
Output [45]: [0_1_10000002110 AS shardId#922933, worklistShardItemId#923001L, orderProposalId#922978L, orderProposalItemId#922979, orderProposalItemGroupId#923002, originalReplenishmentRunId#923020L, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, cast(sequenceId#923000 as bigint) AS sequenceId#922943L, sourceOfSupplyUuid#922992, supplierGroup#922980, supplier#922981, subrange#922984, product#922987, plant#922982, purchasingOrg#922993, purchasingGroup#922994, mrpController#922991, orderDateTime#922988, deliveryDateTime#922983, availabilityDateTime#922989, nextAvailabilityDateTime#922990, isFallbackOrderOnly#922995, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, netPriceAmount#923014, netPriceCurrencyCode#923015, measurements#923019, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintRanks#923012, constraintValues#923011, constraintIsActive#923013, logisticUnits#923005, optimizationGroups#923021, externalProductId#923003, externalPlantId#923004, supplyingPlant#922985, productGroup#922986]
Input [44]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, sequenceId#923000, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021]
(12) ResultQueryStage
Output [45]: [shardId#922933, worklistShardItemId#923001L, orderProposalId#922978L, orderProposalItemId#922979, orderProposalItemGroupId#923002, originalReplenishmentRunId#923020L, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, sequenceId#922943L, sourceOfSupplyUuid#922992, supplierGroup#922980, supplier#922981, subrange#922984, product#922987, plant#922982, purchasingOrg#922993, purchasingGroup#922994, mrpController#922991, orderDateTime#922988, deliveryDateTime#922983, availabilityDateTime#922989, nextAvailabilityDateTime#922990, isFallbackOrderOnly#922995, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, netPriceAmount#923014, netPriceCurrencyCode#923015, measurements#923019, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintRanks#923012, constraintValues#923011, constraintIsActive#923013, logisticUnits#923005, optimizationGroups#923021, externalProductId#923003, externalPlantId#923004, supplyingPlant#922985, productGroup#922986]
Arguments: 1
(13) Filter
Input [45]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021, shardId#923022, sequenceId#923000]
Condition : ((isnotnull(availabilityDateTime#922989) AND isnotnull(nextAvailabilityDateTime#922990)) AND (nextAvailabilityDateTime#922990 > availabilityDateTime#922989))
(14) Project
Output [44]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, sequenceId#923000, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021]
Input [45]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021, shardId#923022, sequenceId#923000]
(15) Exchange
Input [44]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, sequenceId#923000, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021]
Arguments: hashpartitioning(worklistShardItemId#923001L, 25), REPARTITION_BY_NUM, [plan_id=363902]
(16) Project
Output [45]: [0_1_10000002110 AS shardId#922933, worklistShardItemId#923001L, orderProposalId#922978L, orderProposalItemId#922979, orderProposalItemGroupId#923002, originalReplenishmentRunId#923020L, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, cast(sequenceId#923000 as bigint) AS sequenceId#922943L, sourceOfSupplyUuid#922992, supplierGroup#922980, supplier#922981, subrange#922984, product#922987, plant#922982, purchasingOrg#922993, purchasingGroup#922994, mrpController#922991, orderDateTime#922988, deliveryDateTime#922983, availabilityDateTime#922989, nextAvailabilityDateTime#922990, isFallbackOrderOnly#922995, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, netPriceAmount#923014, netPriceCurrencyCode#923015, measurements#923019, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintRanks#923012, constraintValues#923011, constraintIsActive#923013, logisticUnits#923005, optimizationGroups#923021, externalProductId#923003, externalPlantId#923004, supplyingPlant#922985, productGroup#922986]
Input [44]: [orderProposalId#922978L, orderProposalItemId#922979, supplierGroup#922980, supplier#922981, plant#922982, deliveryDateTime#922983, subrange#922984, supplyingPlant#922985, productGroup#922986, product#922987, orderDateTime#922988, availabilityDateTime#922989, nextAvailabilityDateTime#922990, mrpController#922991, sourceOfSupplyUuid#922992, purchasingOrg#922993, purchasingGroup#922994, isFallbackOrderOnly#922995, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, sequenceId#923000, worklistShardItemId#923001L, orderProposalItemGroupId#923002, externalProductId#923003, externalPlantId#923004, logisticUnits#923005, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintValues#923011, constraintRanks#923012, constraintIsActive#923013, netPriceAmount#923014, netPriceCurrencyCode#923015, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, measurements#923019, originalReplenishmentRunId#923020L, optimizationGroups#923021]
(17) AdaptiveSparkPlan
Output [45]: [shardId#922933, worklistShardItemId#923001L, orderProposalId#922978L, orderProposalItemId#922979, orderProposalItemGroupId#923002, originalReplenishmentRunId#923020L, orderProposalHorizonGroupingId#922996L, splitIndicator#922997L, previousOrderProposal#922998L, clusterId#922999L, sequenceId#922943L, sourceOfSupplyUuid#922992, supplierGroup#922980, supplier#922981, subrange#922984, product#922987, plant#922982, purchasingOrg#922993, purchasingGroup#922994, mrpController#922991, orderDateTime#922988, deliveryDateTime#922983, availabilityDateTime#922989, nextAvailabilityDateTime#922990, isFallbackOrderOnly#922995, orderQuantityBaseUom#923006, orderQuantityBaseUomUuid#923007, netPriceQuantity#923016, netPriceQuantityUom#923017, netPriceQuantityUomUuid#923018, netPriceAmount#923014, netPriceCurrencyCode#923015, measurements#923019, minimumOrderQuantity#923008, constraintLabels#923009, constraintOperators#923010, constraintRanks#923012, constraintValues#923011, constraintIsActive#923013, logisticUnits#923005, optimizationGroups#923021, externalProductId#923003, externalPlantId#923004, supplyingPlant#922985, productGroup#922986]
Arguments: isFinalPlan=true
(18) TableCacheQueryStage
Output [6]: [availabilityDateTime#922955, nextAvailabilityDateTime#922956, plant#922949, product#922948, shardId#922933, worklistShardItemId#922934L]
Arguments: 0
(19) Project [codegen id : 1]
Output [8]: [shardId#922933, worklistShardItemId#922934L, product#922948, plant#922949, availabilityDateTime#922955 AS periodStart#925360, nextAvailabilityDateTime#922956 AS periodEnd#925361, 0 AS version#925359, null AS qty#925362]
Input [6]: [availabilityDateTime#922955, nextAvailabilityDateTime#922956, plant#922949, product#922948, shardId#922933, worklistShardItemId#922934L]
(20) ResultQueryStage
Output [8]: [shardId#922933, worklistShardItemId#922934L, product#922948, plant#922949, periodStart#925360, periodEnd#925361, version#925359, qty#925362]
Arguments: 1
(21) Project
Output [8]: [shardId#922933, worklistShardItemId#922934L, product#922948, plant#922949, availabilityDateTime#922955 AS periodStart#925360, nextAvailabilityDateTime#922956 AS periodEnd#925361, 0 AS version#925359, null AS qty#925362]
Input [6]: [availabilityDateTime#922955, nextAvailabilityDateTime#922956, plant#922949, product#922948, shardId#922933, worklistShardItemId#922934L]
(22) AdaptiveSparkPlan
Output [8]: [shardId#922933, worklistShardItemId#922934L, product#922948, plant#922949, periodStart#925360, periodEnd#925361, version#925359, qty#925362]
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