== 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.7 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.7 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#1009043, worklistShardItemId#1009044L, product#1009058, plant#1009059, periodStart#1011470, periodEnd#1011471, version#1011469, qty#1011472], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [6]: [availabilityDateTime#1009065, nextAvailabilityDateTime#1009066, plant#1009059, product#1009058, shardId#1009043, worklistShardItemId#1009044L]
Arguments: [availabilityDateTime#1009065, nextAvailabilityDateTime#1009066, plant#1009059, product#1009058, shardId#1009043, worklistShardItemId#1009044L]
(4) InMemoryRelation
Arguments: [shardId#1009043, worklistShardItemId#1009044L, orderProposalId#1009045L, orderProposalItemId#1009046, orderProposalItemGroupId#1009047, originalReplenishmentRunId#1009048L, orderProposalHorizonGroupingId#1009049L, splitIndicator#1009050L, previousOrderProposal#1009051L, clusterId#1009052L, sequenceId#1009053L, sourceOfSupplyUuid#1009054, supplierGroup#1009055, supplier#1009056, subrange#1009057, product#1009058, plant#1009059, purchasingOrg#1009060, purchasingGroup#1009061, mrpController#1009062, orderDateTime#1009063, deliveryDateTime#1009064, availabilityDateTime#1009065, nextAvailabilityDateTime#1009066, isFallbackOrderOnly#1009067, ... 20 more fields], StorageLevel(disk, memory, 2 replicas)
(5) Scan parquet
Output [45]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131, shardId#1009132, sequenceId#1009110]
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#1009132), isnotnull(sequenceId#1009110), (shardId#1009132 = 0_1_10000002111), (sequenceId#1009110 = 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#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131, shardId#1009132, sequenceId#1009110]
(7) Filter [codegen id : 1]
Input [45]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131, shardId#1009132, sequenceId#1009110]
Condition : ((isnotnull(availabilityDateTime#1009099) AND isnotnull(nextAvailabilityDateTime#1009100)) AND (nextAvailabilityDateTime#1009100 > availabilityDateTime#1009099))
(8) Project [codegen id : 1]
Output [44]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, sequenceId#1009110, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131]
Input [45]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131, shardId#1009132, sequenceId#1009110]
(9) Exchange
Input [44]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, sequenceId#1009110, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131]
Arguments: hashpartitioning(worklistShardItemId#1009111L, 25), REPARTITION_BY_NUM, [plan_id=395056]
(10) ShuffleQueryStage
Output [44]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, sequenceId#1009110, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131]
Arguments: 0
(11) Project [codegen id : 2]
Output [45]: [0_1_10000002111 AS shardId#1009043, worklistShardItemId#1009111L, orderProposalId#1009088L, orderProposalItemId#1009089, orderProposalItemGroupId#1009112, originalReplenishmentRunId#1009130L, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, cast(sequenceId#1009110 as bigint) AS sequenceId#1009053L, sourceOfSupplyUuid#1009102, supplierGroup#1009090, supplier#1009091, subrange#1009094, product#1009097, plant#1009092, purchasingOrg#1009103, purchasingGroup#1009104, mrpController#1009101, orderDateTime#1009098, deliveryDateTime#1009093, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, isFallbackOrderOnly#1009105, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, netPriceAmount#1009124, netPriceCurrencyCode#1009125, measurements#1009129, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintRanks#1009122, constraintValues#1009121, constraintIsActive#1009123, logisticUnits#1009115, optimizationGroups#1009131, externalProductId#1009113, externalPlantId#1009114, supplyingPlant#1009095, productGroup#1009096]
Input [44]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, sequenceId#1009110, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131]
(12) ResultQueryStage
Output [45]: [shardId#1009043, worklistShardItemId#1009111L, orderProposalId#1009088L, orderProposalItemId#1009089, orderProposalItemGroupId#1009112, originalReplenishmentRunId#1009130L, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, sequenceId#1009053L, sourceOfSupplyUuid#1009102, supplierGroup#1009090, supplier#1009091, subrange#1009094, product#1009097, plant#1009092, purchasingOrg#1009103, purchasingGroup#1009104, mrpController#1009101, orderDateTime#1009098, deliveryDateTime#1009093, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, isFallbackOrderOnly#1009105, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, netPriceAmount#1009124, netPriceCurrencyCode#1009125, measurements#1009129, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintRanks#1009122, constraintValues#1009121, constraintIsActive#1009123, logisticUnits#1009115, optimizationGroups#1009131, externalProductId#1009113, externalPlantId#1009114, supplyingPlant#1009095, productGroup#1009096]
Arguments: 1
(13) Filter
Input [45]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131, shardId#1009132, sequenceId#1009110]
Condition : ((isnotnull(availabilityDateTime#1009099) AND isnotnull(nextAvailabilityDateTime#1009100)) AND (nextAvailabilityDateTime#1009100 > availabilityDateTime#1009099))
(14) Project
Output [44]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, sequenceId#1009110, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131]
Input [45]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131, shardId#1009132, sequenceId#1009110]
(15) Exchange
Input [44]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, sequenceId#1009110, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131]
Arguments: hashpartitioning(worklistShardItemId#1009111L, 25), REPARTITION_BY_NUM, [plan_id=395028]
(16) Project
Output [45]: [0_1_10000002111 AS shardId#1009043, worklistShardItemId#1009111L, orderProposalId#1009088L, orderProposalItemId#1009089, orderProposalItemGroupId#1009112, originalReplenishmentRunId#1009130L, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, cast(sequenceId#1009110 as bigint) AS sequenceId#1009053L, sourceOfSupplyUuid#1009102, supplierGroup#1009090, supplier#1009091, subrange#1009094, product#1009097, plant#1009092, purchasingOrg#1009103, purchasingGroup#1009104, mrpController#1009101, orderDateTime#1009098, deliveryDateTime#1009093, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, isFallbackOrderOnly#1009105, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, netPriceAmount#1009124, netPriceCurrencyCode#1009125, measurements#1009129, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintRanks#1009122, constraintValues#1009121, constraintIsActive#1009123, logisticUnits#1009115, optimizationGroups#1009131, externalProductId#1009113, externalPlantId#1009114, supplyingPlant#1009095, productGroup#1009096]
Input [44]: [orderProposalId#1009088L, orderProposalItemId#1009089, supplierGroup#1009090, supplier#1009091, plant#1009092, deliveryDateTime#1009093, subrange#1009094, supplyingPlant#1009095, productGroup#1009096, product#1009097, orderDateTime#1009098, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, mrpController#1009101, sourceOfSupplyUuid#1009102, purchasingOrg#1009103, purchasingGroup#1009104, isFallbackOrderOnly#1009105, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, sequenceId#1009110, worklistShardItemId#1009111L, orderProposalItemGroupId#1009112, externalProductId#1009113, externalPlantId#1009114, logisticUnits#1009115, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintValues#1009121, constraintRanks#1009122, constraintIsActive#1009123, netPriceAmount#1009124, netPriceCurrencyCode#1009125, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, measurements#1009129, originalReplenishmentRunId#1009130L, optimizationGroups#1009131]
(17) AdaptiveSparkPlan
Output [45]: [shardId#1009043, worklistShardItemId#1009111L, orderProposalId#1009088L, orderProposalItemId#1009089, orderProposalItemGroupId#1009112, originalReplenishmentRunId#1009130L, orderProposalHorizonGroupingId#1009106L, splitIndicator#1009107L, previousOrderProposal#1009108L, clusterId#1009109L, sequenceId#1009053L, sourceOfSupplyUuid#1009102, supplierGroup#1009090, supplier#1009091, subrange#1009094, product#1009097, plant#1009092, purchasingOrg#1009103, purchasingGroup#1009104, mrpController#1009101, orderDateTime#1009098, deliveryDateTime#1009093, availabilityDateTime#1009099, nextAvailabilityDateTime#1009100, isFallbackOrderOnly#1009105, orderQuantityBaseUom#1009116, orderQuantityBaseUomUuid#1009117, netPriceQuantity#1009126, netPriceQuantityUom#1009127, netPriceQuantityUomUuid#1009128, netPriceAmount#1009124, netPriceCurrencyCode#1009125, measurements#1009129, minimumOrderQuantity#1009118, constraintLabels#1009119, constraintOperators#1009120, constraintRanks#1009122, constraintValues#1009121, constraintIsActive#1009123, logisticUnits#1009115, optimizationGroups#1009131, externalProductId#1009113, externalPlantId#1009114, supplyingPlant#1009095, productGroup#1009096]
Arguments: isFinalPlan=true
(18) TableCacheQueryStage
Output [6]: [availabilityDateTime#1009065, nextAvailabilityDateTime#1009066, plant#1009059, product#1009058, shardId#1009043, worklistShardItemId#1009044L]
Arguments: 0
(19) Project [codegen id : 1]
Output [8]: [shardId#1009043, worklistShardItemId#1009044L, product#1009058, plant#1009059, availabilityDateTime#1009065 AS periodStart#1011470, nextAvailabilityDateTime#1009066 AS periodEnd#1011471, 0 AS version#1011469, null AS qty#1011472]
Input [6]: [availabilityDateTime#1009065, nextAvailabilityDateTime#1009066, plant#1009059, product#1009058, shardId#1009043, worklistShardItemId#1009044L]
(20) ResultQueryStage
Output [8]: [shardId#1009043, worklistShardItemId#1009044L, product#1009058, plant#1009059, periodStart#1011470, periodEnd#1011471, version#1011469, qty#1011472]
Arguments: 1
(21) Project
Output [8]: [shardId#1009043, worklistShardItemId#1009044L, product#1009058, plant#1009059, availabilityDateTime#1009065 AS periodStart#1011470, nextAvailabilityDateTime#1009066 AS periodEnd#1011471, 0 AS version#1011469, null AS qty#1011472]
Input [6]: [availabilityDateTime#1009065, nextAvailabilityDateTime#1009066, plant#1009059, product#1009058, shardId#1009043, worklistShardItemId#1009044L]
(22) AdaptiveSparkPlan
Output [8]: [shardId#1009043, worklistShardItemId#1009044L, product#1009058, plant#1009059, periodStart#1011470, periodEnd#1011471, version#1011469, qty#1011472]
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