Jackie-Jiang opened a new pull request #5849:
URL: https://github.com/apache/incubator-pinot/pull/5849


   ## Description
   Support type conversion for all scalar functions.
   Parameter classes supported for type conversion using `PinotDataType`:
   - int/Integer
   - long/Long
   - float/Float
   - double/Double
   - String
   - byte[]
   
   Also handle function name with underscore in `FunctionRegistry`.
   
   Support type conversion for all features using the scalar function:
   - Compile time function in `CalciteSqlParser`
   - Record transform/filter during ingestion in `InbuiltFunctionEvaluator`
   - Transform during query execution in `ScalarTransformFunctionWrapper`
   
   Add `PostAggregationFunction` to handle post-aggregation calculation using 
the scalar function.
   Add `ArithmeticFunctions` for all the arithmetic scalar functions:
   - plus
   - minus
   - times
   - divide
   - mod
   - min
   - max
   - abs
   - ceil
   - floor
   - exp
   - ln
   - sqrt


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to