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

Method __do_describe

shell/impala_shell/impala_shell.py:1681–1687  ·  view source on GitHub ↗

Executes a DESCRIBE... query, fetching all rows

(self, cmd, args)

Source from the content-addressed store, hash-verified

1679 return self.__do_describe("describe", args)
1680
1681 def __do_describe(self, cmd, args):
1682 """Executes a DESCRIBE... query, fetching all rows"""
1683 # original command should be overridden because the server cannot
1684 # recognize "desc" as a keyword. Thus, given command should be
1685 # replaced with "describe" here.
1686 return self._execute_stmt(
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"""

Callers 2

do_describeMethod · 0.95
do_descMethod · 0.95

Calls 2

_execute_stmtMethod · 0.95
_build_query_stringMethod · 0.95

Tested by

no test coverage detected