== Physical Plan ==
AdaptiveSparkPlan (27)
+- == Final Plan ==
ResultQueryStage (25), Statistics(sizeInBytes=8.0 EiB)
+- CollectLimit (24)
+- TableCacheQueryStage (23), Statistics(sizeInBytes=14.1 MiB, rowCount=1.20E+5)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- AdaptiveSparkPlan (22)
+- == Final Plan ==
ResultQueryStage (20)
+- * Project (19)
+- TableCacheQueryStage (18), Statistics(sizeInBytes=138.1 MiB, rowCount=1.20E+5)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=155.6 MiB, rowCount=1.20E+5)
+- 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=155.6 MiB, rowCount=1.20E+5)
+- 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=138.1 MiB, rowCount=1.20E+5)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=155.6 MiB, rowCount=1.20E+5)
+- 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=155.6 MiB, rowCount=1.20E+5)
+- 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#3452112, worklistShardItemId#3452113L, product#3452127, plant#3452128, periodStart#3454371, periodEnd#3454372, version#3454370, qty#3454373], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [6]: [availabilityDateTime#3452134, nextAvailabilityDateTime#3452135, plant#3452128, product#3452127, shardId#3452112, worklistShardItemId#3452113L]
Arguments: [availabilityDateTime#3452134, nextAvailabilityDateTime#3452135, plant#3452128, product#3452127, shardId#3452112, worklistShardItemId#3452113L]
(4) InMemoryRelation
Arguments: [shardId#3452112, worklistShardItemId#3452113L, orderProposalId#3452114L, orderProposalItemId#3452115, orderProposalItemGroupId#3452116, originalReplenishmentRunId#3452117L, orderProposalHorizonGroupingId#3452118L, splitIndicator#3452119L, previousOrderProposal#3452120L, clusterId#3452121L, sequenceId#3452122L, sourceOfSupplyUuid#3452123, supplierGroup#3452124, supplier#3452125, subrange#3452126, product#3452127, plant#3452128, purchasingOrg#3452129, purchasingGroup#3452130, mrpController#3452131, orderDateTime#3452132, deliveryDateTime#3452133, availabilityDateTime#3452134, nextAvailabilityDateTime#3452135, isFallbackOrderOnly#3452136, ... 20 more fields], StorageLevel(disk, memory, 2 replicas)
(5) Scan parquet
Output [45]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200, shardId#3452201, sequenceId#3452179]
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#3452201), isnotnull(sequenceId#3452179), (shardId#3452201 = 0_5_10000000532), (sequenceId#3452179 = 4)]
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#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200, shardId#3452201, sequenceId#3452179]
(7) Filter [codegen id : 1]
Input [45]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200, shardId#3452201, sequenceId#3452179]
Condition : ((isnotnull(availabilityDateTime#3452168) AND isnotnull(nextAvailabilityDateTime#3452169)) AND (nextAvailabilityDateTime#3452169 > availabilityDateTime#3452168))
(8) Project [codegen id : 1]
Output [44]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, sequenceId#3452179, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200]
Input [45]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200, shardId#3452201, sequenceId#3452179]
(9) Exchange
Input [44]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, sequenceId#3452179, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200]
Arguments: hashpartitioning(worklistShardItemId#3452180L, 37), REPARTITION_BY_NUM, [plan_id=992377]
(10) ShuffleQueryStage
Output [44]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, sequenceId#3452179, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200]
Arguments: 0
(11) Project [codegen id : 2]
Output [45]: [0_5_10000000532 AS shardId#3452112, worklistShardItemId#3452180L, orderProposalId#3452157L, orderProposalItemId#3452158, orderProposalItemGroupId#3452181, originalReplenishmentRunId#3452199L, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, cast(sequenceId#3452179 as bigint) AS sequenceId#3452122L, sourceOfSupplyUuid#3452171, supplierGroup#3452159, supplier#3452160, subrange#3452163, product#3452166, plant#3452161, purchasingOrg#3452172, purchasingGroup#3452173, mrpController#3452170, orderDateTime#3452167, deliveryDateTime#3452162, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, isFallbackOrderOnly#3452174, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, netPriceAmount#3452193, netPriceCurrencyCode#3452194, measurements#3452198, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintRanks#3452191, constraintValues#3452190, constraintIsActive#3452192, logisticUnits#3452184, optimizationGroups#3452200, externalProductId#3452182, externalPlantId#3452183, supplyingPlant#3452164, productGroup#3452165]
Input [44]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, sequenceId#3452179, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200]
(12) ResultQueryStage
Output [45]: [shardId#3452112, worklistShardItemId#3452180L, orderProposalId#3452157L, orderProposalItemId#3452158, orderProposalItemGroupId#3452181, originalReplenishmentRunId#3452199L, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, sequenceId#3452122L, sourceOfSupplyUuid#3452171, supplierGroup#3452159, supplier#3452160, subrange#3452163, product#3452166, plant#3452161, purchasingOrg#3452172, purchasingGroup#3452173, mrpController#3452170, orderDateTime#3452167, deliveryDateTime#3452162, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, isFallbackOrderOnly#3452174, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, netPriceAmount#3452193, netPriceCurrencyCode#3452194, measurements#3452198, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintRanks#3452191, constraintValues#3452190, constraintIsActive#3452192, logisticUnits#3452184, optimizationGroups#3452200, externalProductId#3452182, externalPlantId#3452183, supplyingPlant#3452164, productGroup#3452165]
Arguments: 1
(13) Filter
Input [45]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200, shardId#3452201, sequenceId#3452179]
Condition : ((isnotnull(availabilityDateTime#3452168) AND isnotnull(nextAvailabilityDateTime#3452169)) AND (nextAvailabilityDateTime#3452169 > availabilityDateTime#3452168))
(14) Project
Output [44]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, sequenceId#3452179, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200]
Input [45]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200, shardId#3452201, sequenceId#3452179]
(15) Exchange
Input [44]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, sequenceId#3452179, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200]
Arguments: hashpartitioning(worklistShardItemId#3452180L, 37), REPARTITION_BY_NUM, [plan_id=992349]
(16) Project
Output [45]: [0_5_10000000532 AS shardId#3452112, worklistShardItemId#3452180L, orderProposalId#3452157L, orderProposalItemId#3452158, orderProposalItemGroupId#3452181, originalReplenishmentRunId#3452199L, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, cast(sequenceId#3452179 as bigint) AS sequenceId#3452122L, sourceOfSupplyUuid#3452171, supplierGroup#3452159, supplier#3452160, subrange#3452163, product#3452166, plant#3452161, purchasingOrg#3452172, purchasingGroup#3452173, mrpController#3452170, orderDateTime#3452167, deliveryDateTime#3452162, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, isFallbackOrderOnly#3452174, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, netPriceAmount#3452193, netPriceCurrencyCode#3452194, measurements#3452198, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintRanks#3452191, constraintValues#3452190, constraintIsActive#3452192, logisticUnits#3452184, optimizationGroups#3452200, externalProductId#3452182, externalPlantId#3452183, supplyingPlant#3452164, productGroup#3452165]
Input [44]: [orderProposalId#3452157L, orderProposalItemId#3452158, supplierGroup#3452159, supplier#3452160, plant#3452161, deliveryDateTime#3452162, subrange#3452163, supplyingPlant#3452164, productGroup#3452165, product#3452166, orderDateTime#3452167, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, mrpController#3452170, sourceOfSupplyUuid#3452171, purchasingOrg#3452172, purchasingGroup#3452173, isFallbackOrderOnly#3452174, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, sequenceId#3452179, worklistShardItemId#3452180L, orderProposalItemGroupId#3452181, externalProductId#3452182, externalPlantId#3452183, logisticUnits#3452184, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintValues#3452190, constraintRanks#3452191, constraintIsActive#3452192, netPriceAmount#3452193, netPriceCurrencyCode#3452194, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, measurements#3452198, originalReplenishmentRunId#3452199L, optimizationGroups#3452200]
(17) AdaptiveSparkPlan
Output [45]: [shardId#3452112, worklistShardItemId#3452180L, orderProposalId#3452157L, orderProposalItemId#3452158, orderProposalItemGroupId#3452181, originalReplenishmentRunId#3452199L, orderProposalHorizonGroupingId#3452175L, splitIndicator#3452176L, previousOrderProposal#3452177L, clusterId#3452178L, sequenceId#3452122L, sourceOfSupplyUuid#3452171, supplierGroup#3452159, supplier#3452160, subrange#3452163, product#3452166, plant#3452161, purchasingOrg#3452172, purchasingGroup#3452173, mrpController#3452170, orderDateTime#3452167, deliveryDateTime#3452162, availabilityDateTime#3452168, nextAvailabilityDateTime#3452169, isFallbackOrderOnly#3452174, orderQuantityBaseUom#3452185, orderQuantityBaseUomUuid#3452186, netPriceQuantity#3452195, netPriceQuantityUom#3452196, netPriceQuantityUomUuid#3452197, netPriceAmount#3452193, netPriceCurrencyCode#3452194, measurements#3452198, minimumOrderQuantity#3452187, constraintLabels#3452188, constraintOperators#3452189, constraintRanks#3452191, constraintValues#3452190, constraintIsActive#3452192, logisticUnits#3452184, optimizationGroups#3452200, externalProductId#3452182, externalPlantId#3452183, supplyingPlant#3452164, productGroup#3452165]
Arguments: isFinalPlan=true
(18) TableCacheQueryStage
Output [6]: [availabilityDateTime#3452134, nextAvailabilityDateTime#3452135, plant#3452128, product#3452127, shardId#3452112, worklistShardItemId#3452113L]
Arguments: 0
(19) Project [codegen id : 1]
Output [8]: [shardId#3452112, worklistShardItemId#3452113L, product#3452127, plant#3452128, availabilityDateTime#3452134 AS periodStart#3454371, nextAvailabilityDateTime#3452135 AS periodEnd#3454372, 0 AS version#3454370, null AS qty#3454373]
Input [6]: [availabilityDateTime#3452134, nextAvailabilityDateTime#3452135, plant#3452128, product#3452127, shardId#3452112, worklistShardItemId#3452113L]
(20) ResultQueryStage
Output [8]: [shardId#3452112, worklistShardItemId#3452113L, product#3452127, plant#3452128, periodStart#3454371, periodEnd#3454372, version#3454370, qty#3454373]
Arguments: 1
(21) Project
Output [8]: [shardId#3452112, worklistShardItemId#3452113L, product#3452127, plant#3452128, availabilityDateTime#3452134 AS periodStart#3454371, nextAvailabilityDateTime#3452135 AS periodEnd#3454372, 0 AS version#3454370, null AS qty#3454373]
Input [6]: [availabilityDateTime#3452134, nextAvailabilityDateTime#3452135, plant#3452128, product#3452127, shardId#3452112, worklistShardItemId#3452113L]
(22) AdaptiveSparkPlan
Output [8]: [shardId#3452112, worklistShardItemId#3452113L, product#3452127, plant#3452128, periodStart#3454371, periodEnd#3454372, version#3454370, qty#3454373]
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