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


   ## Description
   Enhance DataTypeTransformer to handle nested Collection/Map/Object[]
   
   - Empty `Collection/Map/Object[]` will be treated as `null`
   - Single-entry `Collection/Map/Object[]` will be treated as single-value 
(map key is ignored)
   - Multi-entry `Collection/Map/Object[]` will be treated as multi-value (map 
key is ignored)
   - Move `NullValueTransformer` after `DataTypeTransformer` to handle the 
`null` from empty `Collection/Map/Object[]`
   
   NOTE:
   Multi-entry `Collection/Map/Object[]` will no longer be accepted for 
single-value column (instead of using the first value because that will cause 
data loss)


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