MCPcopy Create free account
hub / github.com/apache/impala / execute

Method execute

tests/comparison/db_connection.py:202–206  ·  view source on GitHub ↗
(self, sql, *args, **kwargs)

Source from the content-addressed store, hash-verified

200 return self._conn.db_name
201
202 def execute(self, sql, *args, **kwargs):
203 LOG.debug('%s: %s' % (self.db_type, sql))
204 if self.conn.sql_log:
205 self.conn.sql_log.write('\nQuery: %s' % sql)
206 return self._cursor.execute(sql, *args, **kwargs)
207
208 def execute_and_fetchall(self, sql, *args, **kwargs):
209 self.execute(sql, *args, **kwargs)

Callers 15

execute_and_fetchallMethod · 0.95
create_dbMethod · 0.95
drop_dbMethod · 0.95
create_tableMethod · 0.95
drop_tableMethod · 0.95
drop_viewMethod · 0.95
index_tableMethod · 0.95
migrate_dbFunction · 0.45
populate_dbMethod · 0.45

Calls 2

debugMethod · 0.45
writeMethod · 0.45

Tested by 15

test_non_mr_execMethod · 0.36
test_execMethod · 0.36
test_list_partitionsMethod · 0.36
test_get_functionsMethod · 0.36
_run_testMethod · 0.36
test_query_expirationMethod · 0.36
runMethod · 0.36
runMethod · 0.36
runMethod · 0.36