SYSTEM$GET_DIRECTORY_TABLE_STATUS

functionsupportedData loading & unloading

docs.snowflake.com ↗

System functions

Returns a list of records that contain the directory table consistency status for stages in your account. Consistency status indicates whether a directory table on a replicated stage has information about (is consistent with) all of the replicated files on the stage.

Syntax

supportedpartialnot supportednot scored

SYSTEM$GET_DIRECTORY_TABLE_STATUS( [ '<stage_name>' ] )

Parameters

NameRequiredDescription
'stage_name'optionalStage for which you want to retrieve the directory table consistency status. When you specify a stage name, the function returns a list with a single record for the directory table on that stage.

Returns

Returns a list of directory table consistency records for each stage in your account. The list contains a maximum of 10,000 records. If you specify a 'stage_name' argument, the function returns a list with a single record for the directory table on that stage. The records are in JSON format and contain the following name/value pairs: Where:

Usage notes

See also