commit | a993e9bf8263481b1c57546cbe58461ef6e0ab5f | [log] [tgz] |
---|---|---|
author | Hussain Towaileb <HussainHT@Gmail.com> | Tue Oct 30 14:48:01 2018 +0300 |
committer | Till Westmann <tillw@apache.org> | Fri Nov 02 17:51:46 2018 -0700 |
tree | 9cf397cb62e8af8537bbe8618334027dfe765b6f | |
parent | e9a911f5ca08786090d10f19d2dcc28df2256191 [diff] |
[ASTERIXDB-2469][TEST] Tests Can Result In False Positives For Numericals - user model changes: no - storage format changes: no - interface changes: no Details: - The test framework doesn’t differentiate between numeric types in expected results. - With the current behavior, when comparing numerical cases, as a last step, we try to convert both numbers to double and do a comparison (in case the String camparison failed already), this is good for the cases of having something like: expected 100.0 and acutal 10E1 (for whatever reason), in this case the String comparison will fail, but the double conversion will produce the correct result. - With this change, we ensure the above behavior is maintained, however, we check that the types are compatible first, for example, if the expected is 100.0 and the actual is 100.0, this should succeed, but if the expected is 100.0 and the actual is 100, then this will fail, this way we ensure correctness of both the numerical value as well as correctness of data type check. Change-Id: I918b7e5c3c39271f77a7d5a01ff634c2a0221ebc Reviewed-on: https://asterix-gerrit.ics.uci.edu/3009 Reviewed-by: Till Westmann <tillw@apache.org> Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
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:
Data model
A semistructured NoSQL style data model (ADM) resulting from extending JSON with object database ideas
Query languages
Two expressive and declarative query languages (SQL++ and AQL) that support a broad range of queries and analysis over semistructured data
Scalability
A parallel runtime query execution engine, Apache Hyracks, that has been scale-tested on up to 1000+ cores and 500+ disks
Native storage
Partitioned LSM-based data storage and indexing to support efficient ingestion and management of semistructured data
External storage
Support for query access to externally stored data (e.g., data in HDFS) as well as to data stored natively by AsterixDB
Data types
A rich set of primitive data types, including spatial and temporal data in addition to integer, floating point, and textual data
Indexing
Secondary indexing options that include B+ trees, R trees, and inverted keyword (exact and fuzzy) index types
Transactions
Basic transactional (concurrency and recovery) capabilities akin to those of a NoSQL store
Learn more about AsterixDB at its website.
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
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/ $./opt/local/bin/start-sample-cluster.sh
Good to go and run queries in your browser at:
http://localhost:19001
Read more documentation to learn the data model, query language, and how to create a cluster instance.