-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
Pinot support for null support is configured at table level by setting tableIndexConfg.nullHandlingEnabled to true in TableConfig.
By setting this to true, all columns in the table are treated as nullable.
Given that nullable columns negatively impact in the heap and/or other optimizations, ideally, we should let users to individually decide the nullability of each column.
In order to do that, we have to:
- Change NullValueIndexType.createDeserializer to actually read
indexeslike other indexes does. - Change places where
tableIndexConfg.nullHandlingEnabledis read (directly or indirectly) in order to usegetIndex(StandardIndexes.nullValueVector()).isEnabled(). This includes- SegmentColumnarIndexCreator
- BaseDefaultColumnHandler.createDefaultValueColumnV1Indices
Reactions are currently unavailable