== Physical Plan ==
AdaptiveSparkPlan (30)
+- == Final Plan ==
ResultQueryStage (2), Statistics(sizeInBytes=8.0 EiB)
+- EmptyRelation (1)
+- LogicalQueryStage (unknown)
+- == Initial Plan ==
HashAggregate (29)
+- Exchange (28)
+- HashAggregate (27)
+- Project (26)
+- Filter (25)
+- InMemoryTableScan (3)
+- InMemoryRelation (4)
+- AdaptiveSparkPlan (24)
+- == Final Plan ==
ResultQueryStage (22)
+- * Project (21)
+- TableCacheQueryStage (20), Statistics(sizeInBytes=5.9 MiB)
+- InMemoryTableScan (5)
+- InMemoryRelation (6)
+- AdaptiveSparkPlan (19)
+- == Final Plan ==
ResultQueryStage (14)
+- * Project (13)
+- ShuffleQueryStage (12), Statistics(sizeInBytes=51.9 MiB, rowCount=4.00E+4)
+- Exchange (11)
+- * Project (10)
+- * Filter (9)
+- * ColumnarToRow (8)
+- Scan parquet (7)
+- == Initial Plan ==
Project (18)
+- Exchange (17)
+- Project (16)
+- Filter (15)
+- Scan parquet (7)
+- == Initial Plan ==
Project (23)
+- InMemoryTableScan (5)
+- InMemoryRelation (6)
+- AdaptiveSparkPlan (19)
+- == Final Plan ==
ResultQueryStage (14)
+- * Project (13)
+- ShuffleQueryStage (12), Statistics(sizeInBytes=51.9 MiB, rowCount=4.00E+4)
+- Exchange (11)
+- * Project (10)
+- * Filter (9)
+- * ColumnarToRow (8)
+- Scan parquet (7)
+- == Initial Plan ==
Project (18)
+- Exchange (17)
+- Project (16)
+- Filter (15)
+- Scan parquet (7)
(1) EmptyRelation
Output [1]: [shardId#3537581]
Arguments: [plan_id=1014675]
(2) ResultQueryStage
Output [1]: [shardId#3537581]
Arguments: 2
(3) InMemoryTableScan
Output [2]: [shardId#3537581, version#3540976]
Arguments: [shardId#3537581, version#3540976], [(version#3540976 > 0)]
(4) InMemoryRelation
Arguments: [shardId#3537581, worklistShardItemId#3537582L, product#3537596, plant#3537597, periodStart#3540977, periodEnd#3540978, version#3540976, qty#3540979], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [6]: [availabilityDateTime#3333972, nextAvailabilityDateTime#3333973, plant#3333966, product#3333965, shardId#3333950, worklistShardItemId#3333951L]
Arguments: [availabilityDateTime#3333972, nextAvailabilityDateTime#3333973, plant#3333966, product#3333965, shardId#3333950, worklistShardItemId#3333951L]
(6) InMemoryRelation
Arguments: [shardId#3333950, worklistShardItemId#3333951L, orderProposalId#3333952L, orderProposalItemId#3333953, orderProposalItemGroupId#3333954, originalReplenishmentRunId#3333955L, orderProposalHorizonGroupingId#3333956L, splitIndicator#3333957L, previousOrderProposal#3333958L, clusterId#3333959L, sequenceId#3333960L, sourceOfSupplyUuid#3333961, supplierGroup#3333962, supplier#3333963, subrange#3333964, product#3333965, plant#3333966, purchasingOrg#3333967, purchasingGroup#3333968, mrpController#3333969, orderDateTime#3333970, deliveryDateTime#3333971, availabilityDateTime#3333972, nextAvailabilityDateTime#3333973, isFallbackOrderOnly#3333974, ... 20 more fields], StorageLevel(disk, memory, 2 replicas)
(7) Scan parquet
Output [45]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038, shardId#3334039, sequenceId#3334017]
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#3334039), isnotnull(sequenceId#3334017), (shardId#3334039 = 0_7_10000000532), (sequenceId#3334017 = 6)]
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>>
(8) ColumnarToRow [codegen id : 1]
Input [45]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038, shardId#3334039, sequenceId#3334017]
(9) Filter [codegen id : 1]
Input [45]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038, shardId#3334039, sequenceId#3334017]
Condition : ((isnotnull(availabilityDateTime#3334006) AND isnotnull(nextAvailabilityDateTime#3334007)) AND (nextAvailabilityDateTime#3334007 > availabilityDateTime#3334006))
(10) Project [codegen id : 1]
Output [44]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, sequenceId#3334017, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038]
Input [45]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038, shardId#3334039, sequenceId#3334017]
(11) Exchange
Input [44]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, sequenceId#3334017, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038]
Arguments: hashpartitioning(worklistShardItemId#3334018L, 37), REPARTITION_BY_NUM, [plan_id=961190]
(12) ShuffleQueryStage
Output [44]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, sequenceId#3334017, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038]
Arguments: 0
(13) Project [codegen id : 2]
Output [45]: [0_7_10000000532 AS shardId#3333950, worklistShardItemId#3334018L, orderProposalId#3333995L, orderProposalItemId#3333996, orderProposalItemGroupId#3334019, originalReplenishmentRunId#3334037L, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, cast(sequenceId#3334017 as bigint) AS sequenceId#3333960L, sourceOfSupplyUuid#3334009, supplierGroup#3333997, supplier#3333998, subrange#3334001, product#3334004, plant#3333999, purchasingOrg#3334010, purchasingGroup#3334011, mrpController#3334008, orderDateTime#3334005, deliveryDateTime#3334000, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, isFallbackOrderOnly#3334012, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, netPriceAmount#3334031, netPriceCurrencyCode#3334032, measurements#3334036, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintRanks#3334029, constraintValues#3334028, constraintIsActive#3334030, logisticUnits#3334022, optimizationGroups#3334038, externalProductId#3334020, externalPlantId#3334021, supplyingPlant#3334002, productGroup#3334003]
Input [44]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, sequenceId#3334017, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038]
(14) ResultQueryStage
Output [45]: [shardId#3333950, worklistShardItemId#3334018L, orderProposalId#3333995L, orderProposalItemId#3333996, orderProposalItemGroupId#3334019, originalReplenishmentRunId#3334037L, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, sequenceId#3333960L, sourceOfSupplyUuid#3334009, supplierGroup#3333997, supplier#3333998, subrange#3334001, product#3334004, plant#3333999, purchasingOrg#3334010, purchasingGroup#3334011, mrpController#3334008, orderDateTime#3334005, deliveryDateTime#3334000, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, isFallbackOrderOnly#3334012, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, netPriceAmount#3334031, netPriceCurrencyCode#3334032, measurements#3334036, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintRanks#3334029, constraintValues#3334028, constraintIsActive#3334030, logisticUnits#3334022, optimizationGroups#3334038, externalProductId#3334020, externalPlantId#3334021, supplyingPlant#3334002, productGroup#3334003]
Arguments: 1
(15) Filter
Input [45]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038, shardId#3334039, sequenceId#3334017]
Condition : ((isnotnull(availabilityDateTime#3334006) AND isnotnull(nextAvailabilityDateTime#3334007)) AND (nextAvailabilityDateTime#3334007 > availabilityDateTime#3334006))
(16) Project
Output [44]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, sequenceId#3334017, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038]
Input [45]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038, shardId#3334039, sequenceId#3334017]
(17) Exchange
Input [44]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, sequenceId#3334017, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038]
Arguments: hashpartitioning(worklistShardItemId#3334018L, 37), REPARTITION_BY_NUM, [plan_id=961162]
(18) Project
Output [45]: [0_7_10000000532 AS shardId#3333950, worklistShardItemId#3334018L, orderProposalId#3333995L, orderProposalItemId#3333996, orderProposalItemGroupId#3334019, originalReplenishmentRunId#3334037L, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, cast(sequenceId#3334017 as bigint) AS sequenceId#3333960L, sourceOfSupplyUuid#3334009, supplierGroup#3333997, supplier#3333998, subrange#3334001, product#3334004, plant#3333999, purchasingOrg#3334010, purchasingGroup#3334011, mrpController#3334008, orderDateTime#3334005, deliveryDateTime#3334000, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, isFallbackOrderOnly#3334012, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, netPriceAmount#3334031, netPriceCurrencyCode#3334032, measurements#3334036, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintRanks#3334029, constraintValues#3334028, constraintIsActive#3334030, logisticUnits#3334022, optimizationGroups#3334038, externalProductId#3334020, externalPlantId#3334021, supplyingPlant#3334002, productGroup#3334003]
Input [44]: [orderProposalId#3333995L, orderProposalItemId#3333996, supplierGroup#3333997, supplier#3333998, plant#3333999, deliveryDateTime#3334000, subrange#3334001, supplyingPlant#3334002, productGroup#3334003, product#3334004, orderDateTime#3334005, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, mrpController#3334008, sourceOfSupplyUuid#3334009, purchasingOrg#3334010, purchasingGroup#3334011, isFallbackOrderOnly#3334012, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, sequenceId#3334017, worklistShardItemId#3334018L, orderProposalItemGroupId#3334019, externalProductId#3334020, externalPlantId#3334021, logisticUnits#3334022, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintValues#3334028, constraintRanks#3334029, constraintIsActive#3334030, netPriceAmount#3334031, netPriceCurrencyCode#3334032, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, measurements#3334036, originalReplenishmentRunId#3334037L, optimizationGroups#3334038]
(19) AdaptiveSparkPlan
Output [45]: [shardId#3333950, worklistShardItemId#3334018L, orderProposalId#3333995L, orderProposalItemId#3333996, orderProposalItemGroupId#3334019, originalReplenishmentRunId#3334037L, orderProposalHorizonGroupingId#3334013L, splitIndicator#3334014L, previousOrderProposal#3334015L, clusterId#3334016L, sequenceId#3333960L, sourceOfSupplyUuid#3334009, supplierGroup#3333997, supplier#3333998, subrange#3334001, product#3334004, plant#3333999, purchasingOrg#3334010, purchasingGroup#3334011, mrpController#3334008, orderDateTime#3334005, deliveryDateTime#3334000, availabilityDateTime#3334006, nextAvailabilityDateTime#3334007, isFallbackOrderOnly#3334012, orderQuantityBaseUom#3334023, orderQuantityBaseUomUuid#3334024, netPriceQuantity#3334033, netPriceQuantityUom#3334034, netPriceQuantityUomUuid#3334035, netPriceAmount#3334031, netPriceCurrencyCode#3334032, measurements#3334036, minimumOrderQuantity#3334025, constraintLabels#3334026, constraintOperators#3334027, constraintRanks#3334029, constraintValues#3334028, constraintIsActive#3334030, logisticUnits#3334022, optimizationGroups#3334038, externalProductId#3334020, externalPlantId#3334021, supplyingPlant#3334002, productGroup#3334003]
Arguments: isFinalPlan=true
(20) TableCacheQueryStage
Output [6]: [availabilityDateTime#3333972, nextAvailabilityDateTime#3333973, plant#3333966, product#3333965, shardId#3333950, worklistShardItemId#3333951L]
Arguments: 0
(21) Project [codegen id : 1]
Output [8]: [shardId#3333950, worklistShardItemId#3333951L, product#3333965, plant#3333966, availabilityDateTime#3333972 AS periodStart#3340245, nextAvailabilityDateTime#3333973 AS periodEnd#3340246, 0 AS version#3340244, null AS qty#3340247]
Input [6]: [availabilityDateTime#3333972, nextAvailabilityDateTime#3333973, plant#3333966, product#3333965, shardId#3333950, worklistShardItemId#3333951L]
(22) ResultQueryStage
Output [8]: [shardId#3333950, worklistShardItemId#3333951L, product#3333965, plant#3333966, periodStart#3340245, periodEnd#3340246, version#3340244, qty#3340247]
Arguments: 1
(23) Project
Output [8]: [shardId#3333950, worklistShardItemId#3333951L, product#3333965, plant#3333966, availabilityDateTime#3333972 AS periodStart#3340245, nextAvailabilityDateTime#3333973 AS periodEnd#3340246, 0 AS version#3340244, null AS qty#3340247]
Input [6]: [availabilityDateTime#3333972, nextAvailabilityDateTime#3333973, plant#3333966, product#3333965, shardId#3333950, worklistShardItemId#3333951L]
(24) AdaptiveSparkPlan
Output [8]: [shardId#3333950, worklistShardItemId#3333951L, product#3333965, plant#3333966, periodStart#3340245, periodEnd#3340246, version#3340244, qty#3340247]
Arguments: isFinalPlan=true
(25) Filter
Input [2]: [shardId#3537581, version#3540976]
Condition : (version#3540976 > 0)
(26) Project
Output [1]: [shardId#3537581]
Input [2]: [shardId#3537581, version#3540976]
(27) HashAggregate
Input [1]: [shardId#3537581]
Keys [1]: [shardId#3537581]
Functions: []
Aggregate Attributes: []
Results [1]: [shardId#3537581]
(28) Exchange
Input [1]: [shardId#3537581]
Arguments: hashpartitioning(shardId#3537581, 37), ENSURE_REQUIREMENTS, [plan_id=1014624]
(29) HashAggregate
Input [1]: [shardId#3537581]
Keys [1]: [shardId#3537581]
Functions: []
Aggregate Attributes: []
Results [1]: [shardId#3537581]
(30) AdaptiveSparkPlan
Output [1]: [shardId#3537581]
Arguments: isFinalPlan=true