asterixdb git commit: Add Error code for unknown pending operation

2017-05-11 Thread buyingyi
Repository: asterixdb Updated Branches: refs/heads/master bacf0c595 -> b13c991f5 Add Error code for unknown pending operation Change-Id: I41d0bed5afdfee9b2c29d0218e794247f13e6350 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1739 Reviewed-by: Yingyi Bu Tested-by:

asterixdb git commit: ASTERIXDB-1901 Fix IntroduceDynamicTypeCastForExternalFunctionRule

2017-05-11 Thread buyingyi
Repository: asterixdb Updated Branches: refs/heads/master 735532e43 -> bacf0c595 ASTERIXDB-1901 Fix IntroduceDynamicTypeCastForExternalFunctionRule 1. Instead of pattern matching, now we will inspect every paramter of UDF. If there is a type mismatch, a cast function will be added. 2.

[02/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/735532e4/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-btree-test/src/test/java/org/apache/hyracks/storage/am/btree/FieldPrefixNSMTest.java -- diff --git

[25/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
Separate index build from index access This change separates index build from index access. All indexes now have a single dataflow helper which uses the index path to locate the resource on the nc to read the resource from memory or disk. Existing resource metadata and dataflow helpers were

[21/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/735532e4/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/declared/BTreeResourceFactoryProvider.java -- diff --git

[19/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/735532e4/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/utils/InvertedIndexResourceFactoryProvider.java -- diff --git

[12/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/735532e4/hyracks-fullstack/hyracks/hyracks-storage-am-btree/src/main/java/org/apache/hyracks/storage/am/btree/dataflow/BTreeSearchOperatorDescriptor.java -- diff --git

[22/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/735532e4/asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/operators/ExternalFilesIndexOperatorDescriptor.java -- diff --git

[14/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/735532e4/hyracks-fullstack/hyracks/hyracks-examples/hyracks-integration-tests/src/test/java/org/apache/hyracks/tests/am/btree/BTreePrimaryIndexSearchOperatorTest.java -- diff

[01/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
Repository: asterixdb Updated Branches: refs/heads/master 4671f7127 -> 735532e43

[13/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/735532e4/hyracks-fullstack/hyracks/hyracks-examples/hyracks-integration-tests/src/test/java/org/apache/hyracks/tests/am/lsm/rtree/LSMRTreeWithAntiMatterTuplesSecondaryIndexSearchOperatorTest.java

[08/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/735532e4/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/api/IVirtualBufferCacheProvider.java -- diff --git

[10/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/735532e4/hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/dataflow/TreeIndexBulkLoadOperatorDescriptor.java -- diff --git

[04/25] asterixdb git commit: Separate index build from index access

2017-05-11 Thread amoudi
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/735532e4/hyracks-fullstack/hyracks/hyracks-storage-am-rtree/src/main/java/org/apache/hyracks/storage/am/rtree/dataflow/RTreeDataflowHelperFactory.java -- diff --git

[2/2] asterixdb git commit: Enable HTTP API processing on NCs

2017-05-11 Thread tillw
Enable HTTP API processing on NCs - Query/Status/Result are answered by NC nodes - other HTTP requests are proxied to the CC node - SessionConfig refactoring – split into config and output (SessionOutput) - TestExecutor now can send http requests do multiple nodes (round robin) Change-Id:

[1/2] asterixdb git commit: Enable HTTP API processing on NCs

2017-05-11 Thread tillw
Repository: asterixdb Updated Branches: refs/heads/master 7a0ba78d3 -> 4671f7127 http://git-wip-us.apache.org/repos/asf/asterixdb/blob/4671f712/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/translator/DefaultStatementExecutorFactory.java

asterixdb git commit: ASTERIXDB-1789: fix an accessor that is used by Hash Table

2017-05-11 Thread wangsaeu
Repository: asterixdb Updated Branches: refs/heads/master e400b117c -> 7a0ba78d3 ASTERIXDB-1789: fix an accessor that is used by Hash Table - Fix an accesor that is used by SerializableHashTable class. This accessor class is required to calculate the original hash value of a tuple when

asterixdb git commit: Disable search in upsert with no secondary indexes

2017-05-11 Thread amoudi
Repository: asterixdb Updated Branches: refs/heads/master 47238442d -> e400b117c Disable search in upsert with no secondary indexes Change-Id: I4af1dc73ec909b98ce0c981c687f1b9bf13030fa Reviewed-on: https://asterix-gerrit.ics.uci.edu/1711 Tested-by: Jenkins