def METHOD_NAME(self, get_stats=False):
    query = """
    select release_version from system.local;
    """
    results, error = self.run_query(query, None)
    results = json_loads(results)
    release_version = results["rows"][0]["release_version"]
    query = """
    SELECT table_name, column_name
    FROM system_schema.columns
    WHERE keyspace_name ='{}';
    """.format(
        self.configuration["keyspace"]
    )
    if release_version.startswith("2"):
        query = """
            SELECT columnfamily_name AS table_name, column_name
            FROM system.schema_columns
            WHERE keyspace_name ='{}';
            """.format(
            self.configuration["keyspace"]
        )
    results, error = self.run_query(query, None)
    results = json_loads(results)
    schema = {}
    for row in results["rows"]:
        table_name = row["table_name"]
        column_name = row["column_name"]
        if table_name not in schema:
            schema[table_name] = {"name": table_name, "columns": []}
        schema[table_name]["columns"].append(column_name)
    return list(schema.values())