跳到内容

注册表

描述

      description: |
        Register an existing table at a given storage location as `id`.

请求模式

    RegisterTableRequest:
      type: object
      required:
        - location
      properties:
        id:
          type: array
          items:
            type: string
        location:
          type: string
        mode:
          type: string
          description: |
            There are two modes when trying to register a table,
            to differentiate the behavior when a table of the same name already exists:
              * CREATE (default): the operation fails with 409.
              * OVERWRITE: the existing table registration is replaced with the new registration.
          enum:
            - CREATE
            - OVERWRITE
        properties:
          type: object
          additionalProperties:
            type: string

响应模式

    RegisterTableResponse:
      type: object
      required:
        - location
      properties:
        location:
          type: string
        properties:
          type: object
          additionalProperties:
            type: string