Show Table Statistics

Retrieves the collected column statistics for the specified table(s).

Input Parameter Description

NameTypeDescription
table_namesarray of stringsNames of tables whose metadata will be fetched, each in [schema_name.]table_name format, using standard name resolution rules. All provided tables must exist, or an error is returned.
optionsmap of string to strings

Optional parameters. The default value is an empty map ( {} ).

Supported Parameters (keys)Parameter Description
no_error_if_not_exists

If true and if the table names specified in input parameter table_names does not exist, no error is returned. If false and if the table names specified in input parameter table_names does not exist, then an error is returned. The default value is false. The supported values are:

  • true
  • false

Output Parameter Description

NameTypeDescription
table_namesarray of stringsValue of input parameter table_names.
stastistics_maparray of arrays of maps of string to stringsA list of maps which contain the column statistics of the table input parameter table_names.
infomap of string to stringsAdditional information.