apache/pinot

Table truncate command

Aberta

#5.559 aberto em 13 de jun. de 2020

 (20 comentários) (0 reação) (0 responsável)Java (1.234 forks)batch import
good first issue

Métricas do repositório

Stars
 (4.937 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador