SYSTEM$PARQUET_DIRECT_AUTO_REFRESH_STATUS
functionnot supportedIceberg & external tablespreviewReturns the current auto-refresh status for a Parquet Direct Iceberg table. Use this function to check whether event-driven auto-refresh is running as expected and to diagnose issues. Note This function is specific to Parquet Direct tables (tables that use a catalog integration with TABLE_FORMAT = NONE or TABLE_FORMAT = HIVE). For other externally managed Iceberg tables, such as Delta Direct or REST catalog tables, use SYSTEM$AUTO_REFRESH_STATUS instead.
Syntax
SYSTEM$PARQUET_DIRECT_AUTO_REFRESH_STATUS('<table_name>')
Parameters
| Name | Required | Description |
|---|---|---|
'table_name' | required | The name of the Parquet Direct table for which you want to retrieve the current auto-refresh status. If you use the fully qualified name, enclose the entire name in single quotes, including the database and schema. If the table name is case-sensitive or includes any special characters or spaces, you must use double quotes. Enclose the double quotes within the single quotes; for example, '"Table_Name"'. |
Returns
The function returns a JSON object that contains the following name/value pairs: Where: Snowflake always returns executionState and pendingFileCount. The other fields appear only when they apply; for example, the notification channel fields appear only when the table has a notification channel.
Usage notes
- Calling this function requires a role that has the OWNERSHIP privilege on the Parquet Direct table.
- This function only works with Parquet Direct tables. Calling it on any other table returns an error.
- The function returns status only when AUTO_REFRESH = TRUE is set on the table. If auto-refresh isn’t enabled, the function returns a message that indicates auto-refresh isn’t enabled for the table.