== Physical Plan ==
AdaptiveSparkPlan (27)
+- == Final Plan ==
ResultQueryStage (25), Statistics(sizeInBytes=8.0 EiB)
+- CollectLimit (24)
+- TableCacheQueryStage (23), Statistics(sizeInBytes=6.1 MiB, rowCount=5.18E+4)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- AdaptiveSparkPlan (22)
+- == Final Plan ==
ResultQueryStage (20)
+- * Project (19)
+- TableCacheQueryStage (18), Statistics(sizeInBytes=59.7 MiB, rowCount=5.18E+4)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=67.2 MiB, rowCount=5.18E+4)
+- 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=67.2 MiB, rowCount=5.18E+4)
+- 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=59.7 MiB, rowCount=5.18E+4)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (17)
+- == Final Plan ==
ResultQueryStage (12)
+- * Project (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=67.2 MiB, rowCount=5.18E+4)
+- 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=67.2 MiB, rowCount=5.18E+4)
+- 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#22188188, worklistShardItemId#22188189L, product#22188203, plant#22188204, periodStart#22190447, periodEnd#22190448, version#22190446, qty#22190449], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [6]: [availabilityDateTime#22188210, nextAvailabilityDateTime#22188211, plant#22188204, product#22188203, shardId#22188188, worklistShardItemId#22188189L]
Arguments: [availabilityDateTime#22188210, nextAvailabilityDateTime#22188211, plant#22188204, product#22188203, shardId#22188188, worklistShardItemId#22188189L]
(4) InMemoryRelation
Arguments: [shardId#22188188, worklistShardItemId#22188189L, orderProposalId#22188190L, orderProposalItemId#22188191, orderProposalItemGroupId#22188192, originalReplenishmentRunId#22188193L, orderProposalHorizonGroupingId#22188194L, splitIndicator#22188195L, previousOrderProposal#22188196L, clusterId#22188197L, sequenceId#22188198L, sourceOfSupplyUuid#22188199, supplierGroup#22188200, supplier#22188201, subrange#22188202, product#22188203, plant#22188204, purchasingOrg#22188205, purchasingGroup#22188206, mrpController#22188207, orderDateTime#22188208, deliveryDateTime#22188209, availabilityDateTime#22188210, nextAvailabilityDateTime#22188211, isFallbackOrderOnly#22188212, ... 20 more fields], StorageLevel(disk, memory, 2 replicas)
(5) Scan parquet
Output [45]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276, shardId#22188277, sequenceId#22188255]
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/10000000553]
PartitionFilters: [isnotnull(shardId#22188277), isnotnull(sequenceId#22188255), (shardId#22188277 = 0_7_10000000553), (sequenceId#22188255 = 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#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276, shardId#22188277, sequenceId#22188255]
(7) Filter [codegen id : 1]
Input [45]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276, shardId#22188277, sequenceId#22188255]
Condition : ((isnotnull(availabilityDateTime#22188244) AND isnotnull(nextAvailabilityDateTime#22188245)) AND (nextAvailabilityDateTime#22188245 > availabilityDateTime#22188244))
(8) Project [codegen id : 1]
Output [44]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, sequenceId#22188255, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276]
Input [45]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276, shardId#22188277, sequenceId#22188255]
(9) Exchange
Input [44]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, sequenceId#22188255, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276]
Arguments: hashpartitioning(worklistShardItemId#22188256L, 37), REPARTITION_BY_NUM, [plan_id=6642673]
(10) ShuffleQueryStage
Output [44]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, sequenceId#22188255, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276]
Arguments: 0
(11) Project [codegen id : 2]
Output [45]: [0_7_10000000553 AS shardId#22188188, worklistShardItemId#22188256L, orderProposalId#22188233L, orderProposalItemId#22188234, orderProposalItemGroupId#22188257, originalReplenishmentRunId#22188275L, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, cast(sequenceId#22188255 as bigint) AS sequenceId#22188198L, sourceOfSupplyUuid#22188247, supplierGroup#22188235, supplier#22188236, subrange#22188239, product#22188242, plant#22188237, purchasingOrg#22188248, purchasingGroup#22188249, mrpController#22188246, orderDateTime#22188243, deliveryDateTime#22188238, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, isFallbackOrderOnly#22188250, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, netPriceAmount#22188269, netPriceCurrencyCode#22188270, measurements#22188274, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintRanks#22188267, constraintValues#22188266, constraintIsActive#22188268, logisticUnits#22188260, optimizationGroups#22188276, externalProductId#22188258, externalPlantId#22188259, supplyingPlant#22188240, productGroup#22188241]
Input [44]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, sequenceId#22188255, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276]
(12) ResultQueryStage
Output [45]: [shardId#22188188, worklistShardItemId#22188256L, orderProposalId#22188233L, orderProposalItemId#22188234, orderProposalItemGroupId#22188257, originalReplenishmentRunId#22188275L, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, sequenceId#22188198L, sourceOfSupplyUuid#22188247, supplierGroup#22188235, supplier#22188236, subrange#22188239, product#22188242, plant#22188237, purchasingOrg#22188248, purchasingGroup#22188249, mrpController#22188246, orderDateTime#22188243, deliveryDateTime#22188238, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, isFallbackOrderOnly#22188250, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, netPriceAmount#22188269, netPriceCurrencyCode#22188270, measurements#22188274, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintRanks#22188267, constraintValues#22188266, constraintIsActive#22188268, logisticUnits#22188260, optimizationGroups#22188276, externalProductId#22188258, externalPlantId#22188259, supplyingPlant#22188240, productGroup#22188241]
Arguments: 1
(13) Filter
Input [45]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276, shardId#22188277, sequenceId#22188255]
Condition : ((isnotnull(availabilityDateTime#22188244) AND isnotnull(nextAvailabilityDateTime#22188245)) AND (nextAvailabilityDateTime#22188245 > availabilityDateTime#22188244))
(14) Project
Output [44]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, sequenceId#22188255, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276]
Input [45]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276, shardId#22188277, sequenceId#22188255]
(15) Exchange
Input [44]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, sequenceId#22188255, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276]
Arguments: hashpartitioning(worklistShardItemId#22188256L, 37), REPARTITION_BY_NUM, [plan_id=6642645]
(16) Project
Output [45]: [0_7_10000000553 AS shardId#22188188, worklistShardItemId#22188256L, orderProposalId#22188233L, orderProposalItemId#22188234, orderProposalItemGroupId#22188257, originalReplenishmentRunId#22188275L, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, cast(sequenceId#22188255 as bigint) AS sequenceId#22188198L, sourceOfSupplyUuid#22188247, supplierGroup#22188235, supplier#22188236, subrange#22188239, product#22188242, plant#22188237, purchasingOrg#22188248, purchasingGroup#22188249, mrpController#22188246, orderDateTime#22188243, deliveryDateTime#22188238, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, isFallbackOrderOnly#22188250, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, netPriceAmount#22188269, netPriceCurrencyCode#22188270, measurements#22188274, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintRanks#22188267, constraintValues#22188266, constraintIsActive#22188268, logisticUnits#22188260, optimizationGroups#22188276, externalProductId#22188258, externalPlantId#22188259, supplyingPlant#22188240, productGroup#22188241]
Input [44]: [orderProposalId#22188233L, orderProposalItemId#22188234, supplierGroup#22188235, supplier#22188236, plant#22188237, deliveryDateTime#22188238, subrange#22188239, supplyingPlant#22188240, productGroup#22188241, product#22188242, orderDateTime#22188243, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, mrpController#22188246, sourceOfSupplyUuid#22188247, purchasingOrg#22188248, purchasingGroup#22188249, isFallbackOrderOnly#22188250, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, sequenceId#22188255, worklistShardItemId#22188256L, orderProposalItemGroupId#22188257, externalProductId#22188258, externalPlantId#22188259, logisticUnits#22188260, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintValues#22188266, constraintRanks#22188267, constraintIsActive#22188268, netPriceAmount#22188269, netPriceCurrencyCode#22188270, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, measurements#22188274, originalReplenishmentRunId#22188275L, optimizationGroups#22188276]
(17) AdaptiveSparkPlan
Output [45]: [shardId#22188188, worklistShardItemId#22188256L, orderProposalId#22188233L, orderProposalItemId#22188234, orderProposalItemGroupId#22188257, originalReplenishmentRunId#22188275L, orderProposalHorizonGroupingId#22188251L, splitIndicator#22188252L, previousOrderProposal#22188253L, clusterId#22188254L, sequenceId#22188198L, sourceOfSupplyUuid#22188247, supplierGroup#22188235, supplier#22188236, subrange#22188239, product#22188242, plant#22188237, purchasingOrg#22188248, purchasingGroup#22188249, mrpController#22188246, orderDateTime#22188243, deliveryDateTime#22188238, availabilityDateTime#22188244, nextAvailabilityDateTime#22188245, isFallbackOrderOnly#22188250, orderQuantityBaseUom#22188261, orderQuantityBaseUomUuid#22188262, netPriceQuantity#22188271, netPriceQuantityUom#22188272, netPriceQuantityUomUuid#22188273, netPriceAmount#22188269, netPriceCurrencyCode#22188270, measurements#22188274, minimumOrderQuantity#22188263, constraintLabels#22188264, constraintOperators#22188265, constraintRanks#22188267, constraintValues#22188266, constraintIsActive#22188268, logisticUnits#22188260, optimizationGroups#22188276, externalProductId#22188258, externalPlantId#22188259, supplyingPlant#22188240, productGroup#22188241]
Arguments: isFinalPlan=true
(18) TableCacheQueryStage
Output [6]: [availabilityDateTime#22188210, nextAvailabilityDateTime#22188211, plant#22188204, product#22188203, shardId#22188188, worklistShardItemId#22188189L]
Arguments: 0
(19) Project [codegen id : 1]
Output [8]: [shardId#22188188, worklistShardItemId#22188189L, product#22188203, plant#22188204, availabilityDateTime#22188210 AS periodStart#22190447, nextAvailabilityDateTime#22188211 AS periodEnd#22190448, 0 AS version#22190446, null AS qty#22190449]
Input [6]: [availabilityDateTime#22188210, nextAvailabilityDateTime#22188211, plant#22188204, product#22188203, shardId#22188188, worklistShardItemId#22188189L]
(20) ResultQueryStage
Output [8]: [shardId#22188188, worklistShardItemId#22188189L, product#22188203, plant#22188204, periodStart#22190447, periodEnd#22190448, version#22190446, qty#22190449]
Arguments: 1
(21) Project
Output [8]: [shardId#22188188, worklistShardItemId#22188189L, product#22188203, plant#22188204, availabilityDateTime#22188210 AS periodStart#22190447, nextAvailabilityDateTime#22188211 AS periodEnd#22190448, 0 AS version#22190446, null AS qty#22190449]
Input [6]: [availabilityDateTime#22188210, nextAvailabilityDateTime#22188211, plant#22188204, product#22188203, shardId#22188188, worklistShardItemId#22188189L]
(22) AdaptiveSparkPlan
Output [8]: [shardId#22188188, worklistShardItemId#22188189L, product#22188203, plant#22188204, periodStart#22190447, periodEnd#22190448, version#22190446, qty#22190449]
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