def _set_cdc_on_table(session, table_name, value, ks_name=None):
    '\n    Uses <session> to set CDC to <value> on <ks_name>.<table_name>.\n    '
    table_string = (((ks_name + '.') + table_name) if ks_name else table_name)
    value_string = ('true' if value else 'false')
    stmt = ((('ALTER TABLE ' + table_string) + ' WITH CDC = ') + value_string)
    logger.debug(stmt)
    session.execute(stmt)
Uses <session> to set CDC to <value> on <ks_name>.<table_name>.
def _set_cdc_on_table(session, table_name, value, ks_name=None):
    '\n    \n    '
    table_string = (((ks_name + '.') + table_name) if ks_name else table_name)
    value_string = ('true' if value else 'false')
    stmt = ((('ALTER TABLE ' + table_string) + ' WITH CDC = ') + value_string)
    logger.debug(stmt)
    session.execute(stmt)