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

   ## Changes
   
   Resolve time-series plan nodes by their existing wire names using the 
built-in leaf type and the types declared by installed language plugins. M3QL 
registers its `KeepLastValuePlanNode` and `TransformNullPlanNode`. The broker 
and worker continue to use the same plan format.
   
   Validate leaf expressions during worker planning. Groovy calls in filter, 
grouping, time, and value expressions now produce a planning error. Ordinary 
transforms remain supported.
   
   ## Plugin compatibility
   
   Upgrade the M3QL plugin with the worker. A third-party language that 
dispatches custom nodes must supply a `TimeSeriesPlanNodeProvider` on the 
worker classpath and list its implementation in 
`META-INF/services/org.apache.pinot.tsdb.spi.plan.serde.TimeSeriesPlanNodeProvider`.
   
   ## Regression coverage
   
   The decoder test checks the same unregistered type at the root and in a 
child node. The worker planner test checks the four expression positions. Both 
exercise local Java APIs.
   
   ```sh
   ./mvnw -pl :pinot-query-runtime,:pinot-timeseries-m3ql -am \
     
-Dtest=TimeSeriesPlanSerdeTest,PhysicalTimeSeriesServerPlanVisitorTest,M3qlParserTest
 \
     -Dsurefire.failIfNoSpecifiedTests=false test
   ```
   


-- 
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