Skip to main content
Version: 0.4.0

Add partitions

POST 

/metalaskes/:metalake/catalogs/:catalog/schemas/:schema/tables/:table/partitions

Add partitions

Request

Path Parameters

    metalake stringrequired

    The name of the metalake

    catalog stringrequired

    The name of the catalog

    schema stringrequired

    The name of the schema

    table stringrequired

    The name of the table

Body

    partitions

    object[]

    required

    The partitions to add

  • Array [

  • oneOf

    type stringrequired

    Possible values: [identity]

    name Name

    The name of the partition

    fieldNames array[]required

    The names of the fields, each field may be with multiple levels

    values

    object[]

    required

    The values of the partition, must be the same length and order as fieldNames

  • Array [

  • type string

    Possible values: [literal]

    dataType

    object

    required

    oneOf

    string

    value stringrequired

    The string format of the literal value

  • ]

  • properties

    object

    nullable

    The properties of the partition

    property name* string
  • ]

Responses

Returns list of partition objects

Schema

    code int32

    Possible values: [0]

    Status code of the response

    partitions

    object[]

    A list of partitions

  • Array [

  • oneOf

    type stringrequired

    Possible values: [identity]

    name Name

    The name of the partition

    fieldNames array[]required

    The names of the fields, each field may be with multiple levels

    values

    object[]

    required

    The values of the partition, must be the same length and order as fieldNames

  • Array [

  • type string

    Possible values: [literal]

    dataType

    object

    required

    oneOf

    string

    value stringrequired

    The string format of the literal value

  • ]

  • properties

    object

    nullable

    The properties of the partition

    property name* string
  • ]

Loading...