code: function runQuery(query, connection) {
    const { contactPoints, keyspace, maxRows } = connection;
  
    const client = new cassandra.Client({
      contactPoints: contactPoints.split(',').map(cp => cp.trim()),
      keyspace
    });
  
    return client
      .execute(query, [], { fetchSize: maxRows })
      .then(result => {
        shutdownClient(client);
        const incomplete = result.rows && result.rows.length === maxRows;
        return { rows: result.rows, incomplete };
      })
      .catch(error => {
        shutdownClient(client);
        throw error;
      });
  }
docs: Run query for connection
  Should return { rows, incomplete }
  @param {string} query
  @param {object} connection