apache/pinot

Table truncate command

开放

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

 (20 条评论) (0 个反应) (0 位负责人)Java (1,234 个派生)batch import
good first issue

仓库指标

星标
 (4,937 个星标)
PR 合并指标
 (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.

贡献者指南