apache/pinot

Enhance the default column handling

开放

#8,699 创建于 2022年5月13日

 (0 条评论) (0 个反应) (0 位负责人)Java (1,234 个派生)batch import
help wanted

仓库指标

星标
 (4,937 个星标)
PR 合并指标
 (平均合并 6天 7小时) (30 天内合并 186 个 PR)

描述

When new columns are added to a pinot table, the server is able to automatically generate default columns for the new added columns. There are 2 types of default column that can be auto-generated:

  1. New added column without transform function: default column will be filled with default null value (always dictionary encoded)
  2. New added column with transform function (derived column): default column will be filled with values calculated based on the transform function

There are 2 things not handled right now:

  1. Generate default column raw forward index (not dictionary encoded)
  2. Support transform function on another new added column: we need to calculate the dependency between new added columns, and generate them in sequence

See BaseDefaultColumnHandler for details

贡献者指南