apache/pinot

Table truncate command

Open

#5559 aperta il 13 giu 2020

Vedi su GitHub
 (20 commenti) (0 reazioni) (0 assegnatari)Java (1234 fork)batch import
good first issue

Metriche repository

Star
 (4937 star)
Metriche merge PR
 (Merge medio 6g 7h) (186 PR mergiate in 30 g)

Descrizione

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.

Guida contributor