You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/client/operations/models/DescribeTableRequest.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
|**version**|**Long**| Version of the table to describe. If not specified, server should resolve it to the latest version. |[optional]|
14
14
|**withTableUri**|**Boolean**| Whether to include the table URI in the response. Default is false. |[optional]|
15
15
|**loadDetailedMetadata**|**Boolean**| Whether to load detailed metadata that requires opening the dataset. When true, the response must include all detailed metadata such as `version`, `schema`, and `stats` which require reading the dataset. When not set, the implementation can decide whether to return detailed metadata and which parts of detailed metadata to return. |[optional]|
16
+
|**checkDeclared**|**Boolean**| Whether to check if the table exists only as a namespace declaration without storage data. Default is false. When true, the response should populate `is_only_declared`. When false, the implementation should return null for `is_only_declared` unless another option such as `load_detailed_metadata` requires checking declared-only table state. |[optional]|
16
17
|**vendCredentials**|**Boolean**| Whether to include vended credentials in the response `storage_options`. When true, the implementation should provide vended credentials for accessing storage. When not set, the implementation can decide whether to return vended credentials. |[optional]|
Copy file name to clipboardExpand all lines: docs/src/client/operations/models/DescribeTableResponse.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
|**metadata**|**Map<String, String>**| Optional table metadata as key-value pairs. This records the information of the table and requires loading the table. It is only populated when `load_detailed_metadata` is true. |[optional]|
19
19
|**properties**|**Map<String, String>**| Properties stored on the table, if supported by the server. This records the information managed by the namespace. If the server does not support table properties, it should return null for this field. If table properties are supported, but none are set, it should return an empty object. |[optional]|
20
20
|**managedVersioning**|**Boolean**| 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. |[optional]|
21
-
|**isOnlyDeclared**|**Boolean**| 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). |[optional]|
21
+
|**isOnlyDeclared**|**Boolean**| 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. When false, the table has storage components (data and metadata files). When null, the implementation did not check whether the table is only declared. Clients should treat an omitted value as null. Implementations should populate this field when `check_declared` is true or another option such as `load_detailed_metadata` requires checking declared-only table state. Operations like describe_table with load_detailed_metadata=true may fail for declared-only tables. |[optional]|
Copy file name to clipboardExpand all lines: java/lance-namespace-apache-client/docs/DescribeTableRequest.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
|**version**|**Long**| Version of the table to describe. If not specified, server should resolve it to the latest version. |[optional]|
14
14
|**withTableUri**|**Boolean**| Whether to include the table URI in the response. Default is false. |[optional]|
15
15
|**loadDetailedMetadata**|**Boolean**| Whether to load detailed metadata that requires opening the dataset. When true, the response must include all detailed metadata such as `version`, `schema`, and `stats` which require reading the dataset. When not set, the implementation can decide whether to return detailed metadata and which parts of detailed metadata to return. |[optional]|
16
+
|**checkDeclared**|**Boolean**| Whether to check if the table exists only as a namespace declaration without storage data. Default is false. When true, the response should populate `is_only_declared`. When false, the implementation should return null for `is_only_declared` unless another option such as `load_detailed_metadata` requires checking declared-only table state. |[optional]|
16
17
|**vendCredentials**|**Boolean**| Whether to include vended credentials in the response `storage_options`. When true, the implementation should provide vended credentials for accessing storage. When not set, the implementation can decide whether to return vended credentials. |[optional]|
Copy file name to clipboardExpand all lines: java/lance-namespace-apache-client/docs/DescribeTableResponse.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
|**metadata**|**Map<String, String>**| Optional table metadata as key-value pairs. This records the information of the table and requires loading the table. It is only populated when `load_detailed_metadata` is true. |[optional]|
19
19
|**properties**|**Map<String, String>**| Properties stored on the table, if supported by the server. This records the information managed by the namespace. If the server does not support table properties, it should return null for this field. If table properties are supported, but none are set, it should return an empty object. |[optional]|
20
20
|**managedVersioning**|**Boolean**| 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. |[optional]|
21
-
|**isOnlyDeclared**|**Boolean**| 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). |[optional]|
21
+
|**isOnlyDeclared**|**Boolean**| 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. When false, the table has storage components (data and metadata files). When null, the implementation did not check whether the table is only declared. Clients should treat an omitted value as null. Implementations should populate this field when `check_declared` is true or another option such as `load_detailed_metadata` requires checking declared-only table state. Operations like describe_table with load_detailed_metadata=true may fail for declared-only tables. |[optional]|
Describe the detailed information for table `id`. REST NAMESPACE ONLY REST namespace passes `with_table_uri`and `load_detailed_metadata` as query parameters instead of in the request body.
1421
+
Describe the detailed information for table `id`. REST NAMESPACE ONLY REST namespace passes `with_table_uri`, `load_detailed_metadata`, and `check_declared` as query parameters instead of in the request body.
1422
1422
1423
1423
### Example
1424
1424
@@ -1456,8 +1456,9 @@ public class Example {
1456
1456
String delimiter ="delimiter_example"; // String | An optional delimiter of the `string identifier`, following the Lance Namespace spec. When not specified, the `$` delimiter must be used.
1457
1457
Boolean withTableUri =false; // Boolean | Whether to include the table URI in the response
1458
1458
Boolean loadDetailedMetadata =false; // Boolean | Whether to load detailed metadata that requires opening the dataset. When false (default), only `location` is required in the response. When true, the response includes additional metadata such as `version`, `schema`, and `stats`.
1459
+
Boolean checkDeclared =false; // Boolean | Whether to check if the table exists only as a namespace declaration without storage data. When false (default), the response should return null for `is_only_declared` unless another option such as `load_detailed_metadata` requires the check.
1459
1460
try {
1460
-
DescribeTableResponse result = apiInstance.describeTable(id, describeTableRequest, delimiter, withTableUri, loadDetailedMetadata);
1461
+
DescribeTableResponse result = apiInstance.describeTable(id, describeTableRequest, delimiter, withTableUri, loadDetailedMetadata, checkDeclared);
1461
1462
System.out.println(result);
1462
1463
} catch (ApiException e) {
1463
1464
System.err.println("Exception when calling MetadataApi#describeTable");
@@ -1480,6 +1481,7 @@ public class Example {
1480
1481
|**delimiter**|**String**| An optional delimiter of the `string identifier`, following the Lance Namespace spec. When not specified, the `$` delimiter must be used. |[optional]|
1481
1482
|**withTableUri**|**Boolean**| Whether to include the table URI in the response |[optional][default to false]|
1482
1483
|**loadDetailedMetadata**|**Boolean**| Whether to load detailed metadata that requires opening the dataset. When false (default), only `location` is required in the response. When true, the response includes additional metadata such as `version`, `schema`, and `stats`. |[optional][default to false]|
1484
+
|**checkDeclared**|**Boolean**| Whether to check if the table exists only as a namespace declaration without storage data. When false (default), the response should return null for `is_only_declared` unless another option such as `load_detailed_metadata` requires the check. |[optional][default to false]|
0 commit comments