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

Method test_show_column_stats

tests/hs2/test_fetch.py:206–210  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

204
205 @needs_session()
206 def test_show_column_stats(self):
207 fetch_results_resp = self.__query_and_fetch("SHOW COLUMN STATS functional.alltypes")
208 num_rows, result = self.column_results_to_string(fetch_results_resp.results.columns)
209 assert num_rows == 13
210 assert re.match(r"id, INT, -?\d+, -?\d+, -?\d+, 4.0", result) is not None
211
212 @needs_session(TCLIService.TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V1)
213 def test_execute_select_v1(self):

Callers

nothing calls this directly

Calls 3

__query_and_fetchMethod · 0.95
matchMethod · 0.80

Tested by

no test coverage detected