Skip to main content
  • checkTable

    public CheckTableResponse checkTable(CheckTableRequest request) throws GPUdbException
    Scans the requested tables as specified in tableNames 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.
    Parameters:
    request - Request object containing the parameters for the operation.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.
  • checkTable

    public CheckTableResponse checkTable(List<String> tableNames, Map<String,String> options) throws GPUdbException
    Scans the requested tables as specified in tableNames 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.
    Parameters:
    tableNames - List of tables to query. An asterisk returns all tables.
    options - Optional parameters.The default value is an empty Map.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.