Skip to content

partitions ​

Command: partitions
Category: Object Inspection
Status: Production Ready

Description ​

List table partitioning details

Syntax ​

bash
hana-cli partitions [schema] [table] [options]

Aliases ​

  • parts
  • partition
  • partitioning
  • tablePartitions

Command Diagram ​

Parameters ​

Positional Arguments ​

ParameterTypeDescription
schemastringSchema name filter (optional positional input).
tablestringTable name filter (optional positional input).

Options ​

OptionAliasTypeDefaultDescription
--table-tstring*Table name pattern to inspect for partitioning.
--schema-sstring**CURRENT_SCHEMA**Schema name or pattern to match.
--type--ptstring-Partition type filter.
--limit-lnumber200Maximum number of rows returned.
--profile-pstring-Connection profile override.

For additional shared options from the common command builder, use hana-cli partitions --help.

Examples ​

Basic Usage ​

bash
hana-cli partitions --table myTable --schema MYSCHEMA

Show partitioning details for a specific table.

See Also ​