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

Method __do_dml

shell/impala_shell/impala_shell.py:1689–1692  ·  view source on GitHub ↗

Executes a DML query

(self, orig_cmd, args)

Source from the content-addressed store, hash-verified

1687 self._build_query_string(self.last_leading_comment, cmd, args))
1688
1689 def __do_dml(self, orig_cmd, args):
1690 """Executes a DML query"""
1691 query = self._build_query_string(self.last_leading_comment, orig_cmd, args)
1692 return self._execute_stmt(query, is_dml=True, print_web_link=True)
1693
1694 def do_upsert(self, args):
1695 return self.__do_dml(self.orig_cmd, args)

Callers 5

do_upsertMethod · 0.95
do_updateMethod · 0.95
do_deleteMethod · 0.95
do_insertMethod · 0.95
do_mergeMethod · 0.95

Calls 2

_build_query_stringMethod · 0.95
_execute_stmtMethod · 0.95

Tested by

no test coverage detected