Files
doris/docs/en/sql-reference/sql-statements/Data Manipulation/SHOW DATA SKEW.md
caiconghui 4c7525cf2c [improvement](show) Support that user can use show data skew statement instead of admin (#7914)
* [improvement](show) Support that user can use show data skew statement instead of admin
This PR mainly do two things:
1. Support that user can use show data skew statement instead of admin
2. Fix fe ut failed caused by pr [improvement](rewrite) Make RewriteDateLiteralRule to be compatible with mysql #7876 and pr [feature-wip](iceberg) Step1: Support create Iceberg external table #7391

Co-authored-by: caiconghui1 <caiconghui1@jd.com>
2022-01-29 10:45:03 +08:00

1.4 KiB

title, language
title language
SHOW DATA SKEW en

SHOW DATA SKEW

description

This statement is used to view the data skew of a table or a partition.

grammar:

    SHOW DATA SKEW FROM [db_name.]tbl_name [PARTITION (p1)];

Description:

	1. Only one partition must be specified. For non-partitioned tables, the partition name is the same as the table name.
	2. The result will show the data volume of each bucket under the specified partition, and the proportion of the data volume of each bucket in the total data volume.

example

1. View the data skew of the table

    SHOW DATA SKEW FROM db1.test PARTITION(p1);

keyword

SHOW, DATA, SKEW