Commit Graph

715 Commits

Author SHA1 Message Date
ishaan
ccfc84fd6a import saslwrapper instead of sasl for Centos/Rhel 2014-01-08 10:46:54 -08:00
Nong Li
fbfef4e22e Fix crash in TopN node with null tuples. 2014-01-08 10:46:54 -08:00
Lenni Kuff
b7c348edfa Fix build break due to using Python 2.7 API 2014-01-08 10:46:54 -08:00
Lenni Kuff
36a8d4bcb1 IMP-611: Impala shell ignores TStatus return values 2014-01-08 10:46:53 -08:00
Lenni Kuff
837f35eab3 Updated results for more query tests to reflect proper ordering + improved result updating 2014-01-08 10:46:53 -08:00
Lenni Kuff
bed633c1ae Extract config/metastore creation from buildall + script for loading warehouse snapshot 2014-01-08 10:46:53 -08:00
Lenni Kuff
a035cf4e73 Update results of a few TPC-H queries to reflect proper ordering
Change-Id: I41156b506155c846220cfb097f5e8120503f8da8
2014-01-08 10:46:52 -08:00
Lenni Kuff
61b1be359c Add support for reporting perf result as "official" 2014-01-08 10:46:52 -08:00
Lenni Kuff
1b248d067b Add TPC-DS dataset and workload 2014-01-08 10:46:52 -08:00
Nong Li
29b2d0c896 Fix lpad string function. 2014-01-08 10:46:52 -08:00
ishaan
ec07adf6ee Enable the shell to consume erros and continue for batch processing. 2014-01-08 10:46:51 -08:00
Nong Li
f05dc4e1b5 Added expr benchmarks. Fixed performance issue with a few string functions. 2014-01-08 10:46:51 -08:00
Nong Li
28c2f9ed36 Fix IMP-601: Bug in string comparison with empty strings. 2014-01-08 10:46:51 -08:00
Lenni Kuff
97380676d8 Fixed case sensitivity issue with exec options in the test Impala Beeswax client code
Also added support for executing run-workload in a mode that continues after query errors
2014-01-08 10:46:50 -08:00
Marcel Kornacker
f6af9316d9 Fix for IMP-137: incorrect predicate placement for outer joins
Fixing predicate assignment for outer joins:
- On clause predicates for outer joins are now assigned to the join node
- the exception are On clause predicates that can be directly evaluated
  by the outer-joined tables themselves; those are "pushed down"
- Where clause predicates for outer-joined tables are assigned to the join node
  that materializes the outer join
2014-01-08 10:46:50 -08:00
Lenni Kuff
febdb112f4 Fixed bug in test file section parsing 2014-01-08 10:46:50 -08:00
Lenni Kuff
ef48f65e76 Add test framework for running Impala query tests via Python
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
2014-01-08 10:46:50 -08:00
Henry Robinson
1278264893 IMP-593: Fix INSERT OVERWRITE bug in Beeswax API after IMP-550 2014-01-08 10:46:49 -08:00
Lenni Kuff
0098b46907 Bump Impala version to .3 and fix Impala shell version generation 2014-01-08 10:46:49 -08:00
Henry Robinson
46054386f5 IMP-587: Webserver should not default to /tmp/ for document root
A world-writeable document root is a bad idea, because a malicious user can
write symlinks to that folder that point to files readable only by impalad's
user. The user can then read these files through the web server.

This patch makes the default doc root empty if IMPALA_HOME is not set; and an
empty doc root means don't serve files. There's also an explicit flag to disable
file serving.
2014-01-08 10:46:49 -08:00
Lenni Kuff
1e25c98fb4 Test data loading framework improvements
This change includes a number of improvements for the test data loading framework:
* Named sections for schema template definitions
* Removal of uneeded sections from schema template definitions (ex. ANALYZE TABLE)
* More granular data loading via table name filters
* Improved robustness in detecting failed data loads
* Table level constraints for specific file formats
* Re-written compute stats script
2014-01-08 10:46:49 -08:00
Alan Choi
b4ee5ef006 IMP-570: order by of BIGINT returns wrong result
The original code returns b1-b2 as an int, where b1,b2 are bigint. This might overflow and returns the
incorrect result.
2014-01-08 10:46:48 -08:00
Henry Robinson
997df15b69 IMP-581: HBase table loading error / IMP-401: Re-enable tests for structured columns 2014-01-08 10:46:48 -08:00
Henry Robinson
10a1c066d7 IMP-399 / IMP-328: Better exceptions / error messages when loading tables 2014-01-08 10:46:46 -08:00
Henry Robinson
03b9b8acb6 IMP-532: Rename state-store-service to statestored 2014-01-08 10:46:46 -08:00
Nong Li
5364767d5f Tuple layout benchmark. 2014-01-08 10:46:46 -08:00
Henry Robinson
ea546d3829 IMP-302: Webserver can serve static files 2014-01-08 10:46:45 -08:00
Nong Li
b4dc3eeb35 Fix IMP-575 2014-01-08 10:46:45 -08:00
Nong Li
adf36b81f9 Fix data errors test. 2014-01-08 10:46:45 -08:00
Nong Li
d226d2b782 Improve benchmark utility 2014-01-08 10:46:45 -08:00
Nong Li
34879a4ddc Fix IMP-297 2014-01-08 10:46:44 -08:00
Henry Robinson
d3ada0c9e0 Remove run-query, QueryExecutorIf and ExecStats 2014-01-08 10:46:44 -08:00
Henry Robinson
18762f9e9e IMP-565: Add query progress to /queries 2014-01-08 10:46:44 -08:00
Henry Robinson
229c2adb71 IMP-533: Show version string on root debug webpage 2014-01-08 10:46:44 -08:00
Henry Robinson
41dc55b666 IMP-530: Daemon binaries should properly handle -version 2014-01-08 10:46:43 -08:00
Nong Li
b22b565a92 Fix codegen for min/max of bool col. 2014-01-08 10:46:43 -08:00
Lenni Kuff
df0617bc83 Bumping version to .2 2014-01-08 10:46:43 -08:00
Lenni Kuff
d4d3dde484 Bumping version to .2 2014-01-08 10:46:42 -08:00
Nong Li
977df7475f Fix compiler warnings that are reported by clang. 2014-01-08 10:46:42 -08:00
Alan Choi
c260fffc57 IMP-488: ExecNode::Close() is safe to call even if Prepare() failed. 2014-01-08 10:46:42 -08:00
Alan Choi
a5a9ccf8c2 IMP-550 short-circuit queries with limit 0
Impala server would examine the plan. If the first fragment's top plan node has a "limit 0",
then the query is set to EOS immediately.
2014-01-08 10:46:41 -08:00
ishaan
66be79e762 Default to port 21000 if no port is specified: On behalf of Ricky Saltzer. 2014-01-08 10:46:40 -08:00
Henry Robinson
35e7e2a7a9 Move thirdparty library versions to environment variables 2014-01-08 10:46:38 -08:00
Henry Robinson
3d24659090 Compatibility changes for Mongoose 3.3 2014-01-08 10:46:37 -08:00
Henry Robinson
df88e1ac7a Upgrade gflags / glog 2014-01-08 10:46:37 -08:00
Henry Robinson
9b3667f424 Move to Mongoose 3.3 2014-01-08 10:46:36 -08:00
Nong Li
23be49f558 Fix IMP-476 2014-01-08 10:46:36 -08:00
Alan Choi
dfe7690add IMP-522 Fix null pointer exception in HBase query
The ScanNode.keyRanges is an array list that can contain null. The existing HBase scan node
did not check for that.

A keyRanges would contain null if
1. the row-key is a string type and it is referenced in the query and,
2. there is no predicate on the row-key.
2014-01-08 10:46:36 -08:00
Nong Li
3a5a358892 Fix for IMP-535. 2014-01-08 10:46:36 -08:00
Alan Choi
432a7631af Fix impala_shell and impala_beeswax to use the new key=value query option 2014-01-08 10:46:35 -08:00