Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/api-reference/rest/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,10 @@ paths:
description: |
Insert new records into table `id`.

For tables that have been declared but not yet created on storage
(is_only_declared=true), this operation will create the table with
the provided data.

REST NAMESPACE ONLY
REST namespace uses Arrow IPC stream as the request body.
It passes in the `InsertIntoTableRequest` information in the following way:
Expand Down Expand Up @@ -1122,6 +1126,10 @@ paths:
based on a matching column and inserts new rows that don't match.
It returns the number of rows inserted and updated.

For tables that have been declared but not yet created on storage
(is_only_declared=true), this operation will create the table with
the provided data (since there are no existing rows to merge with).

REST NAMESPACE ONLY
REST namespace uses Arrow IPC stream as the request body.
It passes in the `MergeInsertIntoTableRequest` information in the following way:
Expand Down Expand Up @@ -2393,6 +2401,13 @@ components:
$ref: "#/components/schemas/PageToken"
limit:
$ref: "#/components/schemas/PageLimit"
include_declared:
type: boolean
description: |
When true, includes tables that have been declared in the namespace
but not yet created on storage, in addition to tables that have
been created. When false or not set, only tables with storage
components are returned.

ListTablesResponse:
type: object
Expand Down Expand Up @@ -2529,6 +2544,15 @@ components:
When true, the caller should use namespace table version operations
(CreateTableVersion, BatchCreateTableVersions, DescribeTableVersion, ListTableVersions, BatchDeleteTableVersions)
to manage table versions instead of relying on Lance's native version management.
is_only_declared:
type: boolean
description: |
When true, indicates that the table has been declared in the namespace
but not yet created on storage. This means the table exists in the
namespace but has no data files on the underlying storage.
Operations like describe_table with load_detailed_metadata=true may fail
for such tables. When false or not set, the table has storage components
(data and metadata files).

TableBasicStats:
type: object
Expand Down
2 changes: 1 addition & 1 deletion lance-namespace
Submodule lance-namespace updated from 98a054 to 838287
Loading