mirror of
https://github.com/apache/druid.git
synced 2025-02-09 19:44:57 +00:00
* Cache value selectors in RowBasedColumnSelectorFactory. There was already caching for dimension selectors. This patch adds caching for value (object and number) selectors. It's helpful when the same field is read multiple times during processing of a single row (for example, by being an input to both MIN and MAX aggregations). * Fix typing. * Fix logic.