Lenni Kuff
faeb7f5fa3
Add scanner test case for scenario where data and table schema do not match
...
Change-Id: I16f007ad1cb2caac47506914512c5665fc3d5f56
Reviewed-on: http://gerrit.ent.cloudera.com:8080/98
Reviewed-by: Lenni Kuff <lskuff@cloudera.com >
Tested-by: Lenni Kuff <lskuff@cloudera.com >
2014-01-08 10:52:01 -08:00
Skye Wanderman-Milne
3fecdeb793
IMPALA-441: support default values for Avro tables
2014-01-08 10:51:39 -08:00
Alex Behm
8ad15fabcf
IMPALA-372: Added CREATE/DROP/ALTER VIEW.
2014-01-08 10:51:35 -08:00
Alex Behm
3bba336bbf
IMPALA-359: Return proper tuple id of inline view with distinct aggregation.
2014-01-08 10:51:26 -08:00
Alan Choi
254ee6ef89
IMPALA-434 Support binary hbase encoding
2014-01-08 10:51:18 -08:00
Skye Wanderman-Milne
e8344bb0d0
Dictionary encoding/decoding
2014-01-08 10:51:15 -08:00
Lenni Kuff
c2cfc7e2a3
IMPALA-373: Add support for 'LOAD DATA' statements
...
This change adds Impala support for LOAD DATA statements. This allows the user
to load one or more files into a table or partition from a given HDFS location. The
load operation only moves files, it does not convert data to match the target
table/partition's file format.
2014-01-08 10:51:02 -08:00
Alex Behm
045038e479
IMPALA-374: Added WITH clause without recursion.
2014-01-08 10:51:00 -08:00
Henry Robinson
79b36a5eb3
IMPALA-375: Add column permutation clause to INSERT statement
2014-01-08 10:50:59 -08:00
Nong Li
ce092065be
Fix bug with how exec sets if the conjuncts are thread safe.
2014-01-08 10:50:53 -08:00
Alan Choi
b1de018298
IMPALA-31 Support EXPLAIN <query>
...
Hue is moving to HiveServer2 but HiveServer2 does not have an "explain" RPC
call. To support "explain", I added it to the language.
An "explain" statement will return a result set: one row per explain line.
2014-01-08 10:50:32 -08:00
Alex Behm
937a44f9f8
IMPALA-68: Support Values() statement.
2014-01-08 10:50:31 -08:00
Alex Behm
c7819f4db7
IMPALA-87: Support INSERT from SELECT without FROM.
2014-01-08 10:50:30 -08:00
Alex Behm
9ff09cd3f4
IMPALA-70: Respect tbl properties to allow empty strings to be treated as NULL
2014-01-08 10:50:28 -08:00
Lenni Kuff
627e74a068
Fix insert test failure by cleaning up table before executing query
2014-01-08 10:50:27 -08:00
Lenni Kuff
e0507e192b
Fix unstable alter table test
2014-01-08 10:50:26 -08:00
Nong Li
261119b91f
Forgot to update the test in previous commit.
2014-01-08 10:50:23 -08:00
Nong Li
8af35425e6
Fix unstable ordering with nans.
2014-01-08 10:50:22 -08:00
Nong Li
68e4c14527
Fix parquet incompatibilities.
2014-01-08 10:50:22 -08:00
Henry Robinson
ead69d377f
IMPALA-249, IMPALA-252: Fixes for static partition keys.
2014-01-08 10:50:14 -08:00
Alex Behm
861ba05989
IMPALA-197: Outer join on constant expressions returns incorrect results.
2014-01-08 10:50:09 -08:00
Alex Behm
c9040aee22
IMPALA-111: COUNT(DISTINCT col) returns wrong results -- does not ignore NULLs.
2014-01-08 10:50:09 -08:00
Alex Behm
14557c7bab
IMPALA-297: Remove distinction between value_expr and expr in parser.
2014-01-08 10:50:08 -08:00
Skye Wanderman-Milne
0c343913fa
IMPALA-266: Round() does not output the right precision
2014-01-08 10:50:02 -08:00
Henry Robinson
7d2c47ad72
IMPALA-258: Make partition key string encoding Hive-compatible
2014-01-08 10:49:54 -08:00
Alex Behm
abafcf81ff
IMPALA-287: Full outer join is missing results.
2014-01-08 10:49:54 -08:00
Alex Behm
4c45bc06c4
IMPALA-84: Predicates not evaluated if select exprs are constant.
2014-01-08 10:49:53 -08:00
Alex Behm
dbe3127383
IMPALA-285: Multiple outer joins with nesting crash impalad
2014-01-08 10:49:53 -08:00
Alex Behm
21685d4f8f
Fixed a failed Preconditions check if a join predicate has constants.
2014-01-08 10:49:52 -08:00
Alan Choi
7aadac236d
IMPALA-231 fix hbase perf issue by deleteing local java ref
2014-01-08 10:49:51 -08:00
Marcel Kornacker
7bf87a4b54
fix for IMPALA-90/IMPALA-221
2014-01-08 10:49:50 -08:00
Alex Behm
5db3f2cdf5
IMPALA-227: SELECT * on partitioned table returns columns in different order than Hive.
2014-01-08 10:49:48 -08:00
Alex Behm
805fa50d6f
IMPALA-67: Constant SELECT clauses do not work in subqueries.
2014-01-08 10:49:48 -08:00
Skye Wanderman-Milne
04bee45af5
Update query test to use dayofyear()
2014-01-08 10:49:47 -08:00
Lenni Kuff
c74b7e41dd
Enable insert tests to run against parquet
2014-01-08 10:49:47 -08:00
Lenni Kuff
3e70594484
Fix unstable top-n test case
2014-01-08 10:49:37 -08:00
Alex Behm
1b2e8280d4
Fix NULL issues.
2014-01-08 10:49:32 -08:00
Lenni Kuff
e218721386
IMPALA-198: Support setting file format, table comment in CREATE TABLE LIKE statements
2014-01-08 10:49:31 -08:00
Marcel Kornacker
d7e22f44bb
Partitioned hash joins
...
- added PlanNode.numNodes, PlanNode.avgRowSize and PlanNode.computeStats()
- fixing up some cardinality estimates
- Planner now tries to do a cost-based decision between broadcast join and join with full repartitioning (both inputs)
- ExchangeNode now distinguishes between its input and output row descriptor: the output potentially contains more tuples
- fixed problem related to cancellation and concurrent hash table builds.
Not included:
- partitioned joins that take advantage of existing partitions of the inputs; those will have to wait for a follow-on change
2014-01-08 10:49:29 -08:00
Nong Li
1fcfb72bc4
IMPALA-145: Fix order by limit 0 crash.
2014-01-08 10:49:27 -08:00
Alex Behm
673d7b97cf
IMPALA-190: Insert with NULL partition keys results in SIGSEGV.
2014-01-08 10:49:22 -08:00
Lenni Kuff
15f0313283
Add analysis checks for length of RowFormat strings, fix escaping of row format values
2014-01-08 10:49:21 -08:00
Lenni Kuff
018a72bfe2
IMPALA-189: Properly support NULL partition key values in ALTER .. PARTITION statements
2014-01-08 10:49:21 -08:00
Alex Behm
0821e2f826
IMPALA-66: Support for UNION with constant SELECT clauses.
2014-01-08 10:49:18 -08:00
Lenni Kuff
5a0b1270c4
Add support for ALTER ... PARTITION (partitionSpec) SET FILEFORMAT/LOCATION
...
Adds support for:
* ALTER TABLE <table> PARTITION (partitionSpec) SET FILEFORMAT
* ALTER TABLE <table> PARTITION (partitionSpec) SET LOCATION
This enables setting the location and fileformat of specific partitions.
2014-01-08 10:49:17 -08:00
Lenni Kuff
f4a5c0628f
Cleanup HDFS directories before and after running ALTER TABLE tests
2014-01-08 10:49:17 -08:00
Lenni Kuff
1fb72fbc73
IMPALA-156: Support core 'ALTER TABLE' DDL command
...
This patch adds support for
- ALTER TABLE ADD|REPLACE COLUMNS
- ALTER TABLE DROP COLUMN
- ALTER TABLE ADD/DROP PARTITION
- ALTER TABLE SET FILEFORMAT
- ALTER TABLE SET LOCATION
- ALTER TABLE RENAME
2014-01-08 10:49:14 -08:00
Elliott Clark
0e0c02b6bd
Add the ability to Select into HBase table.
...
* Changed frontend analysis for HBase tables
* Changed Thrift messages to allow HBase as a sink type.
* JNI Wrapper around htable
* Create hbase-table-sink
* Create hbase-table-writer
* Static init lots of JNI related code for HBase.
* Cleaned up some cpplint issues.
* Changed junit analysis tests
* Create a new HBase test table.
* Added functional tests for HBase inserts.
2014-01-08 10:49:06 -08:00
Lenni Kuff
5f81becd84
Create tables used by insert tests in a supported insert format
2014-01-08 10:49:00 -08:00
Alan Choi
57c2f828e0
IMP-791 Fix full outer join hang
...
In full or right outer join, the hash-join-node does not release
the io buffer when calling get next, causing deadlock.
2014-01-08 10:48:58 -08:00