apache/pinot

Table truncate command

Open

#5 559 ouverte le 13 juin 2020

Voir sur GitHub
 (20 commentaires) (0 réactions) (0 assignés)Java (1 234 forks)batch import
good first issue

Métriques du dépôt

Stars
 (4 937 stars)
Métriques de merge PR
 (Merge moyen 6j 7h) (186 PRs mergées en 30 j)

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.

Guide contributeur