SYSTEM$SHOW_DYNAMIC_TABLES_CREATED_FOR_RESHARING
functionnot supportedNative apps, listings & sharingWhen a consumer of a listing reshares the listing’s data into another region, Snowflake creates hidden dynamic tables to enable listing auto-fulfillment in the target region. This system function returns information about the hidden dynamic tables that Snowflake creates under the outgoing view to materialize imported data for cross-region resharing. Use this function to: - Identify which imported objects have backing dynamic tables for a given outgoing view. - Inspect the most recent refresh times for those dynamic tables (for debugging or cost/health analysis).
Syntax
SYSTEM$SHOW_DYNAMIC_TABLES_CREATED_FOR_RESHARING( '<view_name>' )
Parameters
| Name | Required | Description |
|---|---|---|
'view_name' | required | The name of the outgoing view attached to a listing or share whose imported data is being auto-materialized into hidden dynamic tables for resharing. You can pass a fully qualified view name, for example:Copy code SYSTEM$SHOW_DYNAMIC_TABLES_CREATED_FOR_RESHARING( 'RESHARER_DB.PUBLIC.SHARED_VIEW' ); |
Returns
Returns a JSON string containing an array of objects. Each object represents a hidden dynamic table created under the specified view for resharing:
Usage notes
- In the following scenarios, dynamic tables aren’t created and the function returns no rows: The view doesn’t reference any imported databases.
- The view uses imported data that is not eligible for resharing.
- The view hasn’t yet been processed by the listing auto-fulfillment.
- This function is intended for observability and debugging.