Scans the requested tables as specified in input parameter table_names for
integrity. Any table chunks which fail the check will be marked as corrupt. By
default the database will automatically repair corrupt tables (via truncating).
Note that since this reads every table column from disk it may be a potentially
long-running operation. The option local_only can be used to skip any table
files already written to a remote storage. Returns table corruption results.
Input Parameter Description
array of strings
List of tables to query. An asterisk returns all tables.
map of string to strings
Optional parameters.The default value is an empty map ( {} ).
Show options
If true only locally persisted files will be checked.The default value is false.The supported values are:
true
false
If true reports individual chunk errors.The default value is true.The supported values are:
true
false
Output Parameter Description
The Kinetica server embeds the endpoint response inside a standard response structure which contains status information and the actual response to the query. Here is a description of the various fields of the wrapper:
String
‘OK’ or ‘ERROR’
String
Empty if success or an error message
String
‘check_table_response’ or ‘none’ in case of an error
String
Empty string
JSON or String
This embedded JSON represents the result of the /check/table endpoint:
Show data_str
array of strings
The names of the tables that were checked.
array of strings
The chunk identifiers associated with each reported result.
array of strings
The locations (rank/tom) where each chunk corruption was found.
array of strings
A description of each corruption error detected or count of the errors, based on show_detail.
map of string to strings
Additional information.The default value is an empty map ( {} ).
Empty string in case of an error.
Assistant
Responses are generated using AI and may contain mistakes.