Describe information of a table
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.
Path parameters
string identifier of an object in a namespace, following the Lance Namespace spec. When the value is equal to the delimiter, it represents the root namespace. For example, v1/namespace/$/list performs a ListNamespace on the root namespace.
Query parameters
An optional delimiter of the string identifier, following the Lance Namespace spec. When not specified, the $ delimiter must be used.
Whether to include the table URI in the response
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.
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.
Request body
Example request
{
"identity": {
"api_key": "api_key",
"auth_token": "auth_token"
},
"context": {
"key": "context"
},
"check_declared": false,
"id": [
"id",
"id"
],
"tag": "tag",
"version": 0,
"branch": "branch",
"with_table_uri": false,
"load_detailed_metadata": true,
"vend_credentials": true
}Response
Table properties result when loading a table
Example response
{
"schema": {
"metadata": {
"key": "metadata"
},
"fields": [
{
"metadata": {
"key": "metadata"
},
"nullable": true,
"name": "name",
"type": {
"length": 0,
"fields": [
null,
null
],
"type": "type"
}
},
{
"metadata": {
"key": "metadata"
},
"nullable": true,
"name": "name",
"type": {
"length": 0,
"fields": [
null,
null
],
"type": "type"
}
}
]
},
"metadata": {
"key": "metadata"
},
"table_uri": "table_uri",
"version": 0,
"managed_versioning": true,
"is_only_declared": true,
"stats": {
"num_deleted_rows": 0,
"num_fragments": 0
},
"context": {
"key": "context"
},
"namespace": [
"namespace",
"namespace"
],
"location": "location",
"table": "table",
"properties": {
"owner": "Ralph",
"created_at": "1452120468"
},
"storage_options": {
"key": "storage_options"
}
}