marcel
fa1faefa01
Adding expr-test; also classes RawValue and separating PrimitiveType into its own .h.
...
Adding arithmetic ops tests and fixing type propagation rules and AnalyzerTest.java.
Some fixes in order to get select w/o from clause working
2011-08-02 17:38:23 -07:00
Carl Steinbach
a94e7f92e8
IMP-10. buildall.sh script should remove untracked directories
2011-07-31 23:32:26 -07:00
Carl Steinbach
d1f468bbe1
Remove thirdparty/gflags-1.5/libtool
2011-07-31 19:36:26 -07:00
carl
edc3a55184
IMP-8. Update build scripts, etc., to reflect thirdparty/hadoop and thirdparty/hive
...
Update
Checkpoint
2011-07-31 17:31:09 -07:00
carl
b953ff1398
Add thirdparty/hadoop-0.20.2-cdh3u1/src/c++/*
2011-07-29 18:44:57 -07:00
Alexander Behm
649930f9cd
Added logging for plans.
2011-07-29 16:21:45 -07:00
carl
2100db7763
Add hive-0.7.1-cdh3u1 to thirdparty
...
Removed the following directories: src, docs, cloudera
2011-07-29 14:37:22 -07:00
carl
cb30685bf4
Add hadoop-0.20.2-cdh3u1 to thirdparty
...
I removed the following directories: docs, src, webapps, cloudera
2011-07-29 14:34:31 -07:00
carl
c1c6f21e5a
IMP-7. Cmake should use the 32-bit version of libhdfs on 32 bit machines
2011-07-29 10:37:40 -07:00
Marcel Kornacker
9746370b86
removing dependency on IMPALA_HOME
2011-07-28 14:07:01 -07:00
Alexander Behm
3cce60756b
Adding thirdparty libraries glog and gflags. Created a buildall script for building the thirdparty libs, the backend, and the frontend.
2011-07-28 13:25:13 -07:00
Alexander Behm
9a3b4dd42c
Added test for failing to load table metadata due to multi-character delimiters.
2011-07-27 14:48:39 -07:00
Alexander Behm
f403a1289f
Fixed exclusion of jdbc package from clover report.
2011-07-27 12:10:43 -07:00
Alexander Behm
a58a6dd099
Enabled static linking of GFlags and GLog so we don't need to set LD_LIBRARY_PATH.
2011-07-27 12:03:46 -07:00
marcel
a3506de8e5
Adding QueryExecutor.
...
Adding libraries gflags and glog; adding logging for descriptors.
2011-07-26 17:08:27 -07:00
Alexander Behm
05f42d453f
Excluded the jdbc package from clover.
2011-07-26 11:36:00 -07:00
Alexander Behm
0526367daa
Added unittests for Coordinator, Exprs and toSql().
2011-07-25 18:51:21 -07:00
Alexander Behm
a2d25b1664
Refined minimal implementation of JDBC driver and added UnsupportedOperationExceptions for unimplemented methods.
2011-07-25 18:08:15 -07:00
Alexander Behm
ddcac4c057
Added initial Impala CLI based on sqlline and a preliminary Impala JDBC driver.
2011-07-22 12:13:01 -07:00
Marcel Kornacker
cc141953de
Adding plan service for be test driver
...
Adding mock implementation of libhdfs (only what's needed for text-scan-node)
in order to avoid having to make any jni calls.
Some bug fixes.
2011-07-22 12:09:55 -07:00
Alexander Behm
a16b4e2b8c
Fixed a bug where column index is not incremented properly.
2011-07-21 15:12:42 -07:00
Alexander Behm
e4ab163593
Fixed planexec library path issue during mvn test.
2011-07-21 13:29:39 -07:00
Alexander Behm
603473b0b4
Fixed hardcoded path to backend lib.
2011-07-21 10:44:33 -07:00
Marcel Kornacker
65911b5aae
added Coordinator.asyncRunQuery() and cleaned up runQuery()
2011-07-20 16:12:18 -07:00
Alexander Behm
de2b53c580
Added first end-to-end test which scans the alltypessmall table.
2011-07-20 14:17:01 -07:00
Alexander Behm
85ea75db78
Documented how to make mvn exec:java work for running a query via the Coordinator. Also added a shell script for convenience.
2011-07-20 13:28:32 -07:00
Alexander Behm
5f050efcd3
Added c++ plan executor. Also made plan execution work from the Java side.
2011-07-19 14:42:24 -07:00
marcel
08e8a5db4c
fixed jni and linker problems
...
some bug fixes and missing functions
some cleanup
2011-07-15 13:17:20 -07:00
marcel
83f60f0821
adding cast eval functions
2011-07-14 17:22:50 -07:00
Alexander Behm
d6d61cf054
Included Hadoop prerequisite in README.
2011-07-14 13:15:52 -07:00
Alexander Behm
b1bd604bd3
Adding initial version of textscannode.
2011-07-14 10:50:18 -07:00
carl
799bba93e0
Build should use $THRIFT_HOME if defined
2011-07-13 17:10:52 -07:00
Marcel Kornacker
c23616a30c
deserializing plan request in c++
...
Coordinator.main(): util function to execute single query against test schema
removed dead code from TestSchemaUtils
2011-07-13 13:48:54 -07:00
marcel
f2ceb748ab
adding some expr eval functions plus script to generate them
...
separating StringValue from tuple.h
2011-07-12 11:04:35 -07:00
marcel
28d3eb0d4f
expr::get/printvalue()
2011-07-08 16:39:32 -07:00
marcel
018fda5cb2
adding ObjectPool and implementation and more commentary for MemPool; some cleanup in expr.{cc,h}
2011-07-08 14:52:57 -07:00
marcel
3286190599
Initial version of backend.
2011-07-07 15:49:46 -07:00
marcel
47ebc307aa
thrift structs plus conversion code for plan nodes, exprs and descriptors
2011-06-30 17:32:10 -07:00
Marcel Kornacker
c0dcd992d9
test case for catalog partition info
2011-06-30 14:12:32 -07:00
marcel
d5593bfd7b
added computeMemLayout() plus unit test
2011-06-30 14:07:37 -07:00
marcel
77617256f4
- added data generator under testdata/src/main/java/com/cloudera/impala/datagenerator
...
- added support for mvn based builds and also a driver script 'recreate_store.sh' to regenerate the data.
- switched test setup to create test tables via a hive cli script rather than programmatically
- added script to load data into default.AllTypes table (24-way partitioned)
2011-06-27 16:19:25 -07:00
Patrick Hunt
fd1df40ddd
Fixed a number of issues found by Findbugs
2011-06-27 09:05:19 -07:00
Marcel Kornacker
33704feb75
adding file locations to md; planner passes in files when constructing scan
2011-06-24 17:50:39 -07:00
marcel
b03d0a4353
moving launch configs under impala/parser to impala/analysis
2011-06-22 21:06:36 -07:00
marcel
e2e87582f5
renamed impala/parser to impala/analysis
...
removing debugging class
2011-06-22 13:42:06 -07:00
Alexander Behm
2619af1b57
Added checking of error messages in AnalyzerTest. Ignoring tables with
...
unsupported Hive types (all complex types). Using Guava
toStringHelper() to implement debugString().
Also fixed an issue with creating tables with complex types in TestSchemaUtils (mvn clean test would fail).
We considered using Java's ToStringBuilder but rejected it due to the following reasons:
1. reflectionToString() has ugly output. Implementing several custom ToStringStyles would be too much work.
2. both the regular ToStringBuilder.append() and the reflectionToString() require a functioning hashCode() implementation.
Our Exprs do not have a proper hashCode(), and it isn't worth implementing them only for debugString().
2011-06-22 11:48:29 -07:00
Patrick Hunt
78da2864cc
Fixed logging to not use mortbay, made static final log in caps
2011-06-21 09:33:35 -07:00
marcel
8eed11aa8e
fixing build failure
2011-06-20 17:43:00 -07:00
Marcel Kornacker
cac1723b99
assignment of conjuncts to scan and agg node; additional toSql() functions
2011-06-20 14:30:18 -07:00
Patrick Hunt
c3539595a5
Added support for code coverage testing via Clover
2011-06-20 12:34:06 -07:00