yashmayya opened a new pull request, #20334:
URL: https://github.com/apache/pinot/pull/20334

   Follow-up to 
[apache/pinot#20293](https://github.com/apache/pinot/pull/20293). That PR 
changed the planner from two plans to one plan, but some comments and test 
descriptions still describe the fallback plan.
   
   - The comments in `plan.proto`, `ArrayToMvValidationVisitor`, 
`MultiStageEngineIntegrationTest`, `MvAggregateOperatorTest` and 
`MvAggregate.json` now say when the planner plans the MV aggregate: when the 
aggregate cannot run in the leaf stage.
   - A comment in `MvAggregate.json` said that `ARRAY_TO_MV` has a NOT NULL 
type in a plan with no MV aggregate. `ARRAY_TO_MV` is nullable when its array 
is nullable, in every plan.
   - `ArrayToMvValidationException` is removed. Only the fallback caught it. 
The visitor throws a `QueryException` with the same error code and message.
   - A test variable gets the name of the parameter that it sets.
   
   There is no behavior change.
   
   ## Testing
   
   `ArrayToMvValidationVisitorTest`, `MvAggregatePlanTest`, 
`MvAggregateOperatorTest`, `PlanNodeSerDeTest` and `ResourceBasedQueriesTest` 
for `MvAggregate.json` pass. The change in the integration test is in comments 
only.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to