== Physical Plan ==
AdaptiveSparkPlan (27)
+- == Final Plan ==
ResultQueryStage (25), Statistics(sizeInBytes=8.0 EiB)
+- CollectLimit (24)
+- TableCacheQueryStage (23), Statistics(sizeInBytes=4.1 KiB, rowCount=34)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- AdaptiveSparkPlan (22)
+- == Final Plan ==
ResultQueryStage (20)
+- * Project (19)
+- TableCacheQueryStage (18), Statistics(sizeInBytes=47.9 KiB, rowCount=34)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=52.8 KiB, rowCount=34)
+- 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=52.8 KiB, rowCount=34)
+- 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=47.9 KiB, rowCount=34)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=52.8 KiB, rowCount=34)
+- 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=52.8 KiB, rowCount=34)
+- 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#1079005, worklistShardItemId#1079006L, product#1079020, plant#1079021, periodStart#1081264, periodEnd#1081265, version#1081263, qty#1081266], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [6]: [availabilityDateTime#1079027, nextAvailabilityDateTime#1079028, plant#1079021, product#1079020, shardId#1079005, worklistShardItemId#1079006L]
Arguments: [availabilityDateTime#1079027, nextAvailabilityDateTime#1079028, plant#1079021, product#1079020, shardId#1079005, worklistShardItemId#1079006L]
(4) InMemoryRelation
Arguments: [shardId#1079005, worklistShardItemId#1079006L, orderProposalId#1079007L, orderProposalItemId#1079008, orderProposalItemGroupId#1079009, originalReplenishmentRunId#1079010L, orderProposalHorizonGroupingId#1079011L, splitIndicator#1079012L, previousOrderProposal#1079013L, clusterId#1079014L, sequenceId#1079015L, sourceOfSupplyUuid#1079016, supplierGroup#1079017, supplier#1079018, subrange#1079019, product#1079020, plant#1079021, purchasingOrg#1079022, purchasingGroup#1079023, mrpController#1079024, orderDateTime#1079025, deliveryDateTime#1079026, availabilityDateTime#1079027, nextAvailabilityDateTime#1079028, isFallbackOrderOnly#1079029, ... 20 more fields], StorageLevel(disk, memory, 2 replicas)
(5) Scan parquet
Output [45]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093, shardId#1079094, sequenceId#1079072]
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/10000002111]
PartitionFilters: [isnotnull(shardId#1079094), isnotnull(sequenceId#1079072), (shardId#1079094 = 0_1_10000002111), (sequenceId#1079072 = 3)]
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#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093, shardId#1079094, sequenceId#1079072]
(7) Filter [codegen id : 1]
Input [45]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093, shardId#1079094, sequenceId#1079072]
Condition : ((isnotnull(availabilityDateTime#1079061) AND isnotnull(nextAvailabilityDateTime#1079062)) AND (nextAvailabilityDateTime#1079062 > availabilityDateTime#1079061))
(8) Project [codegen id : 1]
Output [44]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, sequenceId#1079072, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093]
Input [45]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093, shardId#1079094, sequenceId#1079072]
(9) Exchange
Input [44]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, sequenceId#1079072, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093]
Arguments: hashpartitioning(worklistShardItemId#1079073L, 25), REPARTITION_BY_NUM, [plan_id=415515]
(10) ShuffleQueryStage
Output [44]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, sequenceId#1079072, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093]
Arguments: 0
(11) Project [codegen id : 2]
Output [45]: [0_1_10000002111 AS shardId#1079005, worklistShardItemId#1079073L, orderProposalId#1079050L, orderProposalItemId#1079051, orderProposalItemGroupId#1079074, originalReplenishmentRunId#1079092L, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, cast(sequenceId#1079072 as bigint) AS sequenceId#1079015L, sourceOfSupplyUuid#1079064, supplierGroup#1079052, supplier#1079053, subrange#1079056, product#1079059, plant#1079054, purchasingOrg#1079065, purchasingGroup#1079066, mrpController#1079063, orderDateTime#1079060, deliveryDateTime#1079055, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, isFallbackOrderOnly#1079067, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, netPriceAmount#1079086, netPriceCurrencyCode#1079087, measurements#1079091, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintRanks#1079084, constraintValues#1079083, constraintIsActive#1079085, logisticUnits#1079077, optimizationGroups#1079093, externalProductId#1079075, externalPlantId#1079076, supplyingPlant#1079057, productGroup#1079058]
Input [44]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, sequenceId#1079072, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093]
(12) ResultQueryStage
Output [45]: [shardId#1079005, worklistShardItemId#1079073L, orderProposalId#1079050L, orderProposalItemId#1079051, orderProposalItemGroupId#1079074, originalReplenishmentRunId#1079092L, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, sequenceId#1079015L, sourceOfSupplyUuid#1079064, supplierGroup#1079052, supplier#1079053, subrange#1079056, product#1079059, plant#1079054, purchasingOrg#1079065, purchasingGroup#1079066, mrpController#1079063, orderDateTime#1079060, deliveryDateTime#1079055, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, isFallbackOrderOnly#1079067, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, netPriceAmount#1079086, netPriceCurrencyCode#1079087, measurements#1079091, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintRanks#1079084, constraintValues#1079083, constraintIsActive#1079085, logisticUnits#1079077, optimizationGroups#1079093, externalProductId#1079075, externalPlantId#1079076, supplyingPlant#1079057, productGroup#1079058]
Arguments: 1
(13) Filter
Input [45]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093, shardId#1079094, sequenceId#1079072]
Condition : ((isnotnull(availabilityDateTime#1079061) AND isnotnull(nextAvailabilityDateTime#1079062)) AND (nextAvailabilityDateTime#1079062 > availabilityDateTime#1079061))
(14) Project
Output [44]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, sequenceId#1079072, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093]
Input [45]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093, shardId#1079094, sequenceId#1079072]
(15) Exchange
Input [44]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, sequenceId#1079072, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093]
Arguments: hashpartitioning(worklistShardItemId#1079073L, 25), REPARTITION_BY_NUM, [plan_id=415487]
(16) Project
Output [45]: [0_1_10000002111 AS shardId#1079005, worklistShardItemId#1079073L, orderProposalId#1079050L, orderProposalItemId#1079051, orderProposalItemGroupId#1079074, originalReplenishmentRunId#1079092L, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, cast(sequenceId#1079072 as bigint) AS sequenceId#1079015L, sourceOfSupplyUuid#1079064, supplierGroup#1079052, supplier#1079053, subrange#1079056, product#1079059, plant#1079054, purchasingOrg#1079065, purchasingGroup#1079066, mrpController#1079063, orderDateTime#1079060, deliveryDateTime#1079055, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, isFallbackOrderOnly#1079067, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, netPriceAmount#1079086, netPriceCurrencyCode#1079087, measurements#1079091, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintRanks#1079084, constraintValues#1079083, constraintIsActive#1079085, logisticUnits#1079077, optimizationGroups#1079093, externalProductId#1079075, externalPlantId#1079076, supplyingPlant#1079057, productGroup#1079058]
Input [44]: [orderProposalId#1079050L, orderProposalItemId#1079051, supplierGroup#1079052, supplier#1079053, plant#1079054, deliveryDateTime#1079055, subrange#1079056, supplyingPlant#1079057, productGroup#1079058, product#1079059, orderDateTime#1079060, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, mrpController#1079063, sourceOfSupplyUuid#1079064, purchasingOrg#1079065, purchasingGroup#1079066, isFallbackOrderOnly#1079067, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, sequenceId#1079072, worklistShardItemId#1079073L, orderProposalItemGroupId#1079074, externalProductId#1079075, externalPlantId#1079076, logisticUnits#1079077, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintValues#1079083, constraintRanks#1079084, constraintIsActive#1079085, netPriceAmount#1079086, netPriceCurrencyCode#1079087, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, measurements#1079091, originalReplenishmentRunId#1079092L, optimizationGroups#1079093]
(17) AdaptiveSparkPlan
Output [45]: [shardId#1079005, worklistShardItemId#1079073L, orderProposalId#1079050L, orderProposalItemId#1079051, orderProposalItemGroupId#1079074, originalReplenishmentRunId#1079092L, orderProposalHorizonGroupingId#1079068L, splitIndicator#1079069L, previousOrderProposal#1079070L, clusterId#1079071L, sequenceId#1079015L, sourceOfSupplyUuid#1079064, supplierGroup#1079052, supplier#1079053, subrange#1079056, product#1079059, plant#1079054, purchasingOrg#1079065, purchasingGroup#1079066, mrpController#1079063, orderDateTime#1079060, deliveryDateTime#1079055, availabilityDateTime#1079061, nextAvailabilityDateTime#1079062, isFallbackOrderOnly#1079067, orderQuantityBaseUom#1079078, orderQuantityBaseUomUuid#1079079, netPriceQuantity#1079088, netPriceQuantityUom#1079089, netPriceQuantityUomUuid#1079090, netPriceAmount#1079086, netPriceCurrencyCode#1079087, measurements#1079091, minimumOrderQuantity#1079080, constraintLabels#1079081, constraintOperators#1079082, constraintRanks#1079084, constraintValues#1079083, constraintIsActive#1079085, logisticUnits#1079077, optimizationGroups#1079093, externalProductId#1079075, externalPlantId#1079076, supplyingPlant#1079057, productGroup#1079058]
Arguments: isFinalPlan=true
(18) TableCacheQueryStage
Output [6]: [availabilityDateTime#1079027, nextAvailabilityDateTime#1079028, plant#1079021, product#1079020, shardId#1079005, worklistShardItemId#1079006L]
Arguments: 0
(19) Project [codegen id : 1]
Output [8]: [shardId#1079005, worklistShardItemId#1079006L, product#1079020, plant#1079021, availabilityDateTime#1079027 AS periodStart#1081264, nextAvailabilityDateTime#1079028 AS periodEnd#1081265, 0 AS version#1081263, null AS qty#1081266]
Input [6]: [availabilityDateTime#1079027, nextAvailabilityDateTime#1079028, plant#1079021, product#1079020, shardId#1079005, worklistShardItemId#1079006L]
(20) ResultQueryStage
Output [8]: [shardId#1079005, worklistShardItemId#1079006L, product#1079020, plant#1079021, periodStart#1081264, periodEnd#1081265, version#1081263, qty#1081266]
Arguments: 1
(21) Project
Output [8]: [shardId#1079005, worklistShardItemId#1079006L, product#1079020, plant#1079021, availabilityDateTime#1079027 AS periodStart#1081264, nextAvailabilityDateTime#1079028 AS periodEnd#1081265, 0 AS version#1081263, null AS qty#1081266]
Input [6]: [availabilityDateTime#1079027, nextAvailabilityDateTime#1079028, plant#1079021, product#1079020, shardId#1079005, worklistShardItemId#1079006L]
(22) AdaptiveSparkPlan
Output [8]: [shardId#1079005, worklistShardItemId#1079006L, product#1079020, plant#1079021, periodStart#1081264, periodEnd#1081265, version#1081263, qty#1081266]
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