apache / apache/incubator-pegasus

support truncate table

Open
#111 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
C++
Stars
2.1k
Forks
328
PR merge metrics
No merged PRs in 30d

Description

currently the only way to quickly clean the data of a table is drop the table then create a new one. perhaps we can support a "truncate table" command to let users to clean the table quickly.

Contributor guide

Open the contributing guide

Research direction

No files or tests are identified in the issue. Start by locating the existing table drop and creation command paths, then determine how a truncate operation can clear table data while preserving the table. Done means users can invoke a truncate-table command without dropping and recreating the table, with behavior covered by relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.