Skip to content

Commit

Permalink
aaa
Browse files Browse the repository at this point in the history
  • Loading branch information
xiedeyantu committed Mar 21, 2024
1 parent f70dfc6 commit c2cc51d
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,22 @@

import com.google.common.collect.ImmutableList;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Stream;

// show data skew from tbl [partition(p1, p2, ...)]
public class ShowDataSkewStmt extends ShowStmt {
public static final ImmutableList<String> TITLE_NAMES = new ImmutableList.Builder<String>()
public static final List<String> TITLE_NAMES = new ImmutableList.Builder<String>()
.add("BucketIdx").add("AvgRowCount").add("AvgDataSize")
.add("Graph").add("Percent")
.build();

static {
List<String> TITLE_NAMES_WITH_PARTITION = ImmutableList.of("Partition");
TITLE_NAMES_WITH_PARTITION.addAll(TITLE_NAMES);
}

private TableRef tblRef;

public ShowDataSkewStmt(TableRef tblRef) {
Expand Down

0 comments on commit c2cc51d

Please sign in to comment.