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


   ## Description
   Unify the logic of data type conversion and formatting into `PinotDataType`, 
`DataType`, `ColumnDataType`.
   - `PinotDataType` is used for type conversion
   - `DataType` is used in schema to represent the source data type (only have 
single-valued type)
   - `ColumnDataType` is used in `DataTable` and `ResultTable` to represent the 
result type
   
   `BYTES` type is stored as `byte[]` externally but as `ByteArray` internally 
for hashing and sorting purpose. This PR handles the conversion of `BYTES` type 
(also new types to be added in the future) so that the the result can be passed 
to the UDF for post-aggregation calculations.
   
   We should consider merging `DataType` and `ColumnDataType` in the future.


-- 
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:
[email protected]



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

Reply via email to