refresh_table_metadata
Refresh a single table's metadata in a SQL Analytics Endpoint when data is stale but schema unchanged. Re-reads the Delta log to sync only that table's data without full item sync.
Instructions
Refresh one table's metadata via sys.sp_dw_refresh_ext_table.
This is the cheap, per-table refresh for DATA-only staleness: it
re-reads the table's underlying Delta log without a full item-level
sync. Use refresh_sql_endpoint_metadata instead when the SCHEMA
changed (tables added or dropped) -- this tool does not pick up
schema changes.
Only supported on SQL Analytics Endpoints (not Data Warehouses), and
only on endpoints created after the workspace's 'New metadata sync'
(preview) setting was enabled. Mutating (respects
FABRIC_MCP_READONLY) but NOT destructive -- it never drops or
recreates anything, so it does not require the
FABRIC_MCP_ALLOW_DESTRUCTIVE opt-in.
qualified_name must already exist in the endpoint's catalog --
the procedure does not create it, and raises a ToolError naming
the table instead. That same error also fires when the table exists
but you lack permission to it, since the driver does not
distinguish the two -- refresh_sql_endpoint_metadata only helps
the missing case, not a permissions one. The procedure may also
decline a table by type, for reasons Microsoft does not document,
raised as a ToolError in the same family as the legacy-sync one
above; that failure also points at refresh_sql_endpoint_metadata
(or fdw sql-endpoints refresh) as the working alternative.
Args:
workspace: Workspace name or GUID.
item: SQL Analytics Endpoint name or GUID. Data Warehouses are
rejected with a ToolError.
qualified_name: Dot-separated qualified table name, e.g.
dbo.sales.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| workspace | Yes | ||
| qualified_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||