apache/pinot

Table truncate command

Open

#5,559 创建于 2020年6月13日

在 GitHub 查看
 (20 评论) (0 反应) (0 负责人)Java (1,234 fork)batch import
good first issue

仓库指标

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

描述

Add truncate operation i.e. delete all contents of table, without removing table config and schema.

For offline, this simply means deleting all segments (everything a delete operation does, but keep the table/schema definition) For realtime, this means deleting all segments, both completed and consuming. Then, we should recreate the ideal state, just like we would've for a new realtime table.

贡献者指南