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

Method test_tablesample

tests/query_test/test_tablesample.py:42–48  ·  view source on GitHub ↗
(self, vector)

Source from the content-addressed store, hash-verified

40 or v.get_value('table_format').file_format == 'text')
41
42 def test_tablesample(self, vector):
43 # Do not use a .test to avoid making this test flaky.
44 # 1. Queries without the repeatable clause are non-deterministic.
45 # 2. The results of queries without a repeatable clause could change due to
46 # changes in data loading that affect the number or size of files.
47 with self.change_database(self.client, vector.get_value('table_format')):
48 self.__run_tablesample(vector)
49
50 def __run_tablesample(self, vector):
51 repeatable = vector.get_value('repeatable')

Callers

nothing calls this directly

Calls 3

__run_tablesampleMethod · 0.95
change_databaseMethod · 0.80
get_valueMethod · 0.45

Tested by

no test coverage detected