mirror of
https://github.com/apache/impala.git
synced 2026-01-07 09:02:19 -05:00
Testing: Ran hdfs/core and localfs/core private builds. Change-Id: I0720458882ac3b1138deccf9af0ee57bf2eed7dc Reviewed-on: http://gerrit.cloudera.org:8080/3334 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Alex Behm <alex.behm@cloudera.com>
23 lines
852 B
Python
23 lines
852 B
Python
# Copyright (c) 2015 Cloudera, Inc. All rights reserved.
|
|
# Validates table stored on the LocalFileSystem.
|
|
#
|
|
from tests.common.impala_test_suite import ImpalaTestSuite
|
|
from tests.common.test_dimensions import create_single_exec_option_dimension
|
|
|
|
class TestLocalFileSystem(ImpalaTestSuite):
|
|
@classmethod
|
|
def get_workload(self):
|
|
return 'functional-query'
|
|
|
|
@classmethod
|
|
def add_test_dimensions(cls):
|
|
super(TestLocalFileSystem, cls).add_test_dimensions()
|
|
cls.TestMatrix.add_dimension(create_single_exec_option_dimension())
|
|
|
|
cls.TestMatrix.add_constraint(lambda v:\
|
|
v.get_value('table_format').file_format == 'text' and \
|
|
v.get_value('table_format').compression_codec == 'none')
|
|
|
|
def test_local_filesystem(self, vector, unique_database):
|
|
self.run_test_case('QueryTest/local-filesystem', vector, unique_database)
|