--- title: "BLOB_DESCRIPTOR" sidebarTitle: "BLOB_DESCRIPTOR" description: "The blob_descriptor() scalar function: a BlobV2 column's payload location, without reading it." icon: file-binary keywords: ["blob_descriptor", "sql", "blob", "large binary", "scalar function"] availability: embedded: unavailable enterprise: available --- ```sql SQL icon="database" SELECT id, blob_descriptor(video) AS descriptor FROM videos ``` A plain `SELECT` of a [BlobV2](/management/table#managed-blobs) column returns its payload as `large_binary`. `blob_descriptor` instead returns a small struct describing where the payload lives, without reading the payload. Pass one row's descriptor to the SDK's blob file reader to open that payload directly: ```python Python icon="python" rows = db.execute_query("SELECT id, blob_descriptor(video) AS descriptor FROM videos").read_all().to_pylist() with table.open_blob_file(rows[0]["descriptor"]) as reader: payload = reader.read() ``` A descriptor is pinned to the table version it was read at: it keeps resolving correctly even after the table is appended to and checked out to a newer version. ## What to read next {#next} The BlobV2 column type this function describes.