src/dirbs/importer/operator_data_importer.py
def _analyze_job(self, tbl_name):
        """Helper function to ANALYZE a table in a separate process."""
        with create_db_connection(self._db_config) as conn, conn.cursor() as cursor:
            self._logger.debug('Running ANALYZE on {0}...'.format(tbl_name))
            cursor.execute(sql.SQL('ANALYZE {0}').format(sql.Identifier(tbl_name)))
            self._logger.debug('Finished running ANALYZE on {0}'.format(tbl_name))
Helper function to ANALYZE a table in a separate process.
Helper function to ANALYZE a table in a separate process.
Helper function to ANALYZE a table in a separate process .
def _analyze_job(self, tbl_name):
        with create_db_connection(self._db_config) as conn, conn.cursor() as cursor:
            self._logger.debug('Running ANALYZE on {0}...'.format(tbl_name))
            cursor.execute(sql.SQL('ANALYZE {0}').format(sql.Identifier(tbl_name)))
            self._logger.debug('Finished running ANALYZE on {0}'.format(tbl_name))
def _analyze_job ( self , tbl_name ) : with create_db_connection ( self . _db_config ) as conn , conn . cursor ( ) as cursor : self . _logger . debug ( 'Running ANALYZE on {0}...' . format ( tbl_name ) ) cursor . execute ( sql . SQL ( 'ANALYZE {0}' ) . format ( sql . Identifier ( tbl_name ) ) ) self . _logger . debug ( 'Finished running ANALYZE on {0}' . format ( tbl_name ) )
Helper function to ANALYZE a table in a separate process.
Helper function to ANALYZE a table in a separate process .
"""Helper function to ANALYZE a table in a separate process."""
self
tbl_name