Describe information of a table
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.
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.
Request body
Example request
{
"id": [
"id",
"id"
],
"version": 0,
"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",
"stats": {
"num_deleted_rows": 0,
"num_fragments": 0
},
"namespace": [
"namespace",
"namespace"
],
"location": "location",
"version": 0,
"table": "table",
"storage_options": {
"key": "storage_options"
}
}