跳到内容

TableExists

描述

      description: |
        Check if table `id` exists.

        This operation should behave exactly like DescribeTable, 
        except it does not contain a response body.

        For DirectoryNamespace implementation, a table exists if either:
        - The table has Lance data versions (regular table created with CreateTable)
        - A `.lance-reserved` file exists in the table directory (empty table created with CreateEmptyTable)

请求模式

    TableExistsRequest:
      type: object
      properties:
        id:
          type: array
          items:
            type: string
        version:
          description: |
            Version of the table to check existence.
            If not specified, server should resolve it to the latest version.
          type: integer
          format: int64
          minimum: 0

响应

如果表存在,此操作将返回成功;如果表不存在,则返回错误。成功的响应不包含响应正文。