(self, queries)
return results
Executes :param queries: that have backups in parallel. Used in featurization.

        :param queries: (list[str]) list of SQL queries to be executed
Executes :param queries: that have backups in parallel. Used in featurization.
Executes : param queries : that have backups in parallel . Used in featurization .
def execute_queries_w_backup(self, queries):
        """
        Executes :param queries: that have backups in parallel. Used in featurization.

        :param queries: (list[str]) list of SQL queries to be executed
        """
        logging.debug('Preparing to execute %d queries.', len(queries))
        tic = time.clock()
        results = self._apply_func(
            partial(_execute_query_w_backup, conn_args=self.conn_args, timeout=self.timeout),
            [(idx, q) for idx, q in enumerate(queries)])
        toc = time.clock()
        logging.debug('Time to execute %d queries: %.2f secs', len(queries), toc-tic)
        return results
def execute_queries_w_backup ( self , queries ) : logging . debug ( 'Preparing to execute %d queries.' , len ( queries ) ) tic = time . clock ( ) results = self . _apply_func ( partial ( _execute_query_w_backup , conn_args = self . conn_args , timeout = self . timeout ) , [ ( idx , q ) for idx , q in enumerate ( queries ) ] ) toc = time . clock ( ) logging . debug ( 'Time to execute %d queries: %.2f secs' , len ( queries ) , toc - tic ) return results