commit | 52671a2c86fd8fc9714b576b3039a91f83e0be98 | [log] [tgz] |
---|---|---|
author | Yingyi Bu <yingyi@couchbase.com> | Mon Oct 31 10:48:33 2016 -0700 |
committer | Yingyi Bu <buyingyi@gmail.com> | Mon Oct 31 20:07:32 2016 -0700 |
tree | 17acfba433c990aa21ba3a5b3d333cad7a394783 | |
parent | 7b14477423d05fbe3df18b607c2e42fbfb0104a5 [diff] |
Unify runtime type exceptions by using error code and message template. -- fixed string_join to be able to handle self-described list; -- fixed the input arity of day_of_week; -- added tests for exceptions. RuntimeDataException is a newly added super class for errors in the data in the runtime. It has the following subclasses: -- IncompatibleTypeException, e.g., 1 + "2" -- InvalidDataFormatException, e.g., boolean(1) -- OverflowException, e.g., int8(1024) -- TypeMismatchException, e.g., substr(1, 2) -- UnderflowException, e.g., int8(-1024) -- UnsupportedItemTypeException, e.g., string_concat(["a", 1, "c"]) -- UnsupportedTypeException, e.g., rectangle("1,2 3,4") + rectangle("2,5 7,8") All "root-cause" exceptions thrown from runtime functions have an error code. Going forward, all "root-cause" exceptions thrown from asterixdb should have an error code. Change-Id: Ie4fff8f5e64ffb027910a4899c0246b37ed5bce7 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1313 Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>
#AsterixDB
AsterixDB is a BDMS (Big Data Management System) with a rich feature set that sets it apart from other Big Data platforms. Its feature set makes it well-suited to modern needs such as web data warehousing and social data storage and analysis. AsterixDB has:
Learn more about AsterixDB at [http://asterixdb.apache.org] (http://asterixdb.apache.org)
##Building AsterixDB
To build AsterixDB from source, you should have a platform with the following:
Instructions for building the master:
Checkout AsterixDB master:
$git clone https://github.com/apache/asterixdb.git
Build AsterixDB master:
$cd asterixdb $mvn clean package -DskipTests
##Running AsterixDB (on your machine from your build) Here are steps to get AsterixDB running on your local machine:
Start a single-machine AsterixDB instance:
$cd asterixdb/asterix-server/target/asterix-server-*-binary-assembly/ $./samples/local/bin/start-sample-cluster.sh
Good to go and run queries in your browser at:
http://localhost:19001
Read more documentations to learn the data model, query language, and how to create a cluster instance: [https://ci.apache.org/projects/asterixdb/index.html] (https://ci.apache.org/projects/asterixdb/index.html)
##Documentation
AsterixDB's official documentation resides at [https://ci.apache.org/projects/asterixdb/index.html] (https://ci.apache.org/projects/asterixdb/index.html). This is built from the maven project under asterix-doc/
as a maven site. The documentation on the official website refers to the most stable build version, so for pre-release versions one should refer to the compiled documentation.
##Support/Contact
If you have any questions, please feel free to ask on our mailing list, users@asterixdb.apache.org. Join the list by sending an email to users-subscribe@asterixdb.apache.org. If you are interested in the internals or developement of AsterixDB, also please feel free to subscribe to our developer mailing list, dev@asterixdb.apache.org, by sending an email to dev-subscribe@asterixdb.apache.org.