mirror of
https://github.com/apache/impala.git
synced 2026-01-01 00:00:20 -05:00
This is the first set of changes required to start getting our functional test infrastructure moved from JUnit to Python. After investigating a number of option, I decided to go with a python test executor named py.test (http://pytest.org/). It is very flexible, open source (MIT licensed), and will enable us to do some cool things like parallel test execution. As part of this change, we now use our "test vectors" for query test execution. This will be very nice because it means if load the "core" dataset you know you will be able to run the "core" query tests (specified by --exploration_strategy when running the tests). You will see that now each combination of table format + query exec options is treated like an individual test case. this will make it much easier to debug exactly where something failed. These new tests can be run using the script at tests/run-tests.sh
12 lines
251 B
Plaintext
12 lines
251 B
Plaintext
====
|
|
---- QUERY
|
|
# Tests overflow
|
|
select * from Overflow
|
|
---- TYPES
|
|
tinyint, smallint, int, bigint, float, double
|
|
---- RESULTS
|
|
-128,-32768,-2147483648,-9223372036854775808,-inf,-inf
|
|
1,2,3,4,5.5,6.6
|
|
127,32767,2147483647,9223372036854775807,inf,inf
|
|
====
|