Run ExecutionTest w/integration test framework
I changed the default local.xml to use 2 NCs with
2 partitions each like AsterixHyracksIntegrationUtil
so that the results will match despite using simple
string compare to determine correctness.
There is also one test in particular (big-object-join)
that I had to add an artificial order by clause to
to deal with different results.
Issues outstanding:
- HDFS in ClusterExecutionIT needs to be thought out
Change-Id: I423f2a7c77839b999d466dd5cace302574d956c0
Reviewed-on: https://asterix-gerrit.ics.uci.edu/525
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Chris Hillery <ceej@lambda.nu>
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01.aql
index 841d3eb..f69d2c8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01.aql
@@ -55,7 +55,7 @@
create index msgCountBIx on TweetMessages(countB) type btree;
create index msgTextIx on TweetMessages(message-text) type keyword;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02.aql
index e756921..a326108 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02.aql
@@ -55,7 +55,7 @@
create index msgCountBIx on TweetMessages(countB) type btree;
create index msgTextIx on TweetMessages(message-text) type keyword;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
for $t1 in dataset('TweetMessages')
where $t1.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_01.aql
index 8e7ea26..f247132 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_01.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key fname,lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_01.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_02.aql
index 34203a3..1c04e5b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_02.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key fname,lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_02.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_03.aql
index fc1a578..8b52af5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-join_03.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key fname,lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_03.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_03.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_01.aql
index 974afc4..e03febf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_01.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key fname,lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_01.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_02.aql
index 1c3b244..99ea3de 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_02.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key fname,lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_02.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_03.aql
index 39a37c8..195eeb4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_03.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key fname,lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_03.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_03.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_04.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_04.aql
index 213bd27..5fe30db 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_04.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key fname,lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_04.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_04.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_05.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_05.aql
index 3c623d0..2ccaca3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_05.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key fname,lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_05.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_05.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_06.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_06.aql
index 7f3749e..c9767af 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_06.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-composite-key-prefix-join_06.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key fname,lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_06.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_06.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-multipred.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-multipred.aql
index e4c140c..9e8a987 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-multipred.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-multipred.aql
@@ -58,7 +58,7 @@
create dataset Customers(CustomerType) primary key cid;
create dataset Orders(OrderType) primary key oid;
-write output to nc1:"rttest/btree-index-join_primary-equi-join-multipred.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join-multipred.adm";
for $c in dataset('Customers')
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-neg_01.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-neg_01.aql
index c9e1fa5..1815c66 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-neg_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-neg_01.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-equi-join-neg_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join-neg_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-neg_02.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-neg_02.aql
index 62d299c..057f9a5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-neg_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join-neg_02.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-equi-join-neg_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join-neg_02.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_01.aql
index d0532b2..48e7965 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_01.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is a HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-equi-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_02.aql
index 8574856..a4b5264 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_02.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is a HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-equi-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join_02.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_03.aql
index 407e617..025b101 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_03.aql
@@ -56,7 +56,7 @@
create dataset Customers(CustomerType) primary key cid;
create dataset Orders(OrderType) primary key oid;
-write output to nc1:"rttest/btree-index-join_primary-equi-join_04.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join_04.adm";
for $c in dataset('Customers')
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_04.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_04.aql
index c1e0844..1775c6a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_04.aql
@@ -56,7 +56,7 @@
create dataset Customers(CustomerType) primary key cid;
create dataset Orders(OrderType) primary key oid;
-write output to nc1:"rttest/btree-index-join_primary-equi-join_05.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join_05.adm";
for $o in dataset('Orders')
for $c in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_05.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_05.aql
index 52506e9..f8525cf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-equi-join_05.aql
@@ -46,7 +46,7 @@
create dataset Customers(CustomerType) primary key cid;
-write output to nc1:"rttest/btree-index-join_primary-equi-join_06.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join_06.adm";
for $c1 in dataset('Customers')
for $c2 in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-ge-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-ge-join_01.aql
index ddb2684..5ae298c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-ge-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-ge-join_01.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-ge-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-ge-join_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-ge-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-ge-join_02.aql
index 71616c0..745361f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-ge-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-ge-join_02.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-ge-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-ge-join_02.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-gt-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-gt-join_01.aql
index 4dcee85..f0d1853 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-gt-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-gt-join_01.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-gt-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-gt-join_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-gt-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-gt-join_02.aql
index 7c3ac55..935b884 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-gt-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-gt-join_02.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-gt-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-gt-join_02.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-le-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-le-join_01.aql
index 05850d0..a880f16 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-le-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-le-join_01.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-le-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-le-join_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-le-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-le-join_02.aql
index f28be44..34d128d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-le-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-le-join_02.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-le-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-le-join_02.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-lt-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-lt-join_01.aql
index e814409..e87265c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-lt-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-lt-join_01.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-lt-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-lt-join_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-lt-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-lt-join_02.aql
index d30d31f..b629d54 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-lt-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/primary-lt-join_02.aql
@@ -38,7 +38,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-lt-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-lt-join_02.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join-multiindex.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join-multiindex.aql
index d304b3b..bb4ad1b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join-multiindex.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join-multiindex.aql
@@ -64,7 +64,7 @@
create index fbmIdxAutId if not exists on FacebookMessages(author-id-copy);
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join-multiindex.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join-multiindex.adm";
for $user in dataset('FacebookUsers')
for $message in dataset('FacebookMessages')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join-multipred.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join-multipred.aql
index 923187c..dd4ca77 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join-multipred.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join-multipred.aql
@@ -51,7 +51,7 @@
create index title_index on DBLP(title);
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join-multipred.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join-multipred.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_01.aql
index 068e7cd..4de7a0b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_01.aql
@@ -49,7 +49,7 @@
create index title_index on DBLP(title);
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_02.aql
index 4703954..5bdacc3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_02.aql
@@ -49,7 +49,7 @@
create index title_index on CSX(title);
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_03.aql
index 92247b9..33bb320 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index-join/secondary-equi-join_03.aql
@@ -39,7 +39,7 @@
create index title_index on DBLP(title);
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_03.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-01.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-01.aql
index 612e18a..18b8095 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-01.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-01.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-01.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-02.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-02.aql
index c316c4a..47d3fa5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-02.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-02.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-02.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-03.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-03.aql
index d8f7701..a2558a5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-03.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-03.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-03.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-04.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-04.aql
index bfcb448..264025a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-04.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-04.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-04.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-05.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-05.aql
index e776278..319e68f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-05.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-05.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-05.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-06.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-06.aql
index 6efa9ea..587608e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-06.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-06.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-06.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-06.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-07.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-07.aql
index e0b4159..0a0d25f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-07.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-07.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-07.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-07.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-08.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-08.aql
index 96d0eeb..965ed78 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-08.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-08.aql
@@ -26,7 +26,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-08.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-08.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-09.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-09.aql
index 8c5908a..e3337ed 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-09.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-09.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-09.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-09.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-10.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-10.aql
index 34760e5..34dbe35 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-10.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-10.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-10.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-10.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-11.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-11.aql
index 755f5c2..48881d2 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-11.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-11.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-11.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-11.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-12.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-12.aql
index 3f60b67..da7f3e7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-12.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-12.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-12.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-12.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-13.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-13.aql
index f03d6b6..cb75b3d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-13.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-13.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-13.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-13.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-14.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-14.aql
index 87ae9fa..14ad381 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-14.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-14.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-14.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-14.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-15.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-15.aql
index 5d174ed..f682827 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-15.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-15.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-15.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-15.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-16.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-16.aql
index 2f02634..9ec8de5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-16.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-16.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-16.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-16.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-17.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-17.aql
index afa9621..d835232 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-17.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-17.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-17.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-17.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-18.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-18.aql
index 4d02e17..9b2dbd9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-18.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-18.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-18.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-18.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-19.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-19.aql
index 8349816..a086a1e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-19.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-19.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-19.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-19.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-20.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-20.aql
index 5d31dfb..df40b5a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-20.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-20.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-20.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-20.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-21.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-21.aql
index c199cb2..a4687ae 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-21.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-21.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-21.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-21.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-22.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-22.aql
index 370ceb7..1e0b035 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-22.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-22.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-22.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-22.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-23.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-23.aql
index 7614736..80bcd8c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-23.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-23.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-23.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-23.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-24.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-24.aql
index 051d277..e72a8ab 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-24.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-24.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-24.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-24.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-25.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-25.aql
index c626b54..4e58551 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-25.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-25.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-25.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-25.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-26.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-26.aql
index 1baa0c3..1eaa9b0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-26.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-26.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-26.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-26.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-27.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-27.aql
index 57dc390..0d49790 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-27.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-27.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-27.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-27.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-28.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-28.aql
index 97e24a7..7a5e69e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-28.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-28.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-28.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-28.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-29.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-29.aql
index 9364333..153c20f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-29.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-29.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-29.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-29.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-30.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-30.aql
index 142ffce..873130b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-30.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-30.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-30.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-30.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-31.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-31.aql
index 0158ae6..4e74512 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-31.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-31.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-31.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-31.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-32.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-32.aql
index bc53537..8958d54 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-32.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-primary-32.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-32.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-32.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-33.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-33.aql
index e333251..b72dbcb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-33.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-33.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-33.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-33.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-34.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-34.aql
index d55d2ac..0030ddf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-34.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-34.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-34.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-34.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-35.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-35.aql
index e53640b..48b67d4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-35.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-35.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-35.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-35.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-36.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-36.aql
index 61fc053..5e39552 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-36.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-36.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-36.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-36.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-37.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-37.aql
index 5d9a58f..08a4024 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-37.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-37.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-37.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-37.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-38.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-38.aql
index 84744df..176be62 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-38.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-38.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-38.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-38.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-39.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-39.aql
index 9169835..ca205ab 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-39.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-39.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-39.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-39.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-40.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-40.aql
index ae994e9..23518e4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-40.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-40.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-40.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-40.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-41.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-41.aql
index bc71d49..15187dc 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-41.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-41.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-41.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-41.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-42.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-42.aql
index 9a23eef..81fb7b4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-42.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-42.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-42.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-42.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-43.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-43.aql
index 4263161..fbb504d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-43.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-43.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-43.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-43.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-44.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-44.aql
index 1adea7e..fbc0dbb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-44.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-44.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-44.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-44.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-45.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-45.aql
index f6f318a..356503f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-45.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-45.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-45.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-45.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-46.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-46.aql
index 8332e33..9dcc4eb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-46.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-46.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-46.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-46.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-47.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-47.aql
index 884b732..5ffc387 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-47.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-47.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-47.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-47.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-48.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-48.aql
index 8cc3e73..4794082 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-48.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-48.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-48.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-48.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-49.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-49.aql
index 2a4bd61..47cc065 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-49.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-49.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-49.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-49.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-50.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-50.aql
index 9c97788..815bae3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-50.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-50.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-50.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-50.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-51.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-51.aql
index 059a639..9be2c17 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-51.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-51.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-51.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-51.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-52.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-52.aql
index 7f3bef0..807d861 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-52.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-52.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-52.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-52.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-53.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-53.aql
index 3f290e4..a7492fa 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-53.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-53.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-53.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-53.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-54.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-54.aql
index 3e75eac..7066b35 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-54.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-54.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-54.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-54.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-55.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-55.aql
index 1705b9d..19168f0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-55.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-55.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-55.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-55.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-56.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-56.aql
index f3a31bc..09ad8c5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-56.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-56.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-56.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-56.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-57.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-57.aql
index 416a539..9c4d2ca 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-57.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-57.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-57.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-57.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-58.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-58.aql
index 166fd2c..b49db5c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-58.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-58.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-58.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-58.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-59.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-59.aql
index 1190bcc..479740f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-59.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-59.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-59.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-59.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-60.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-60.aql
index 8cbb704..02ad02e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-60.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-60.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-60.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-60.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-61.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-61.aql
index 90c4362..59801d3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-61.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-61.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-61.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-61.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-62.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-62.aql
index 604522c..90ad451 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-62.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-62.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-62.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-62.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-63.aql b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-63.aql
index e423710..6b6bce0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-63.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/btree-index/btree-secondary-63.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-63.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-63.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/collocated.aql b/asterix-app/src/test/resources/optimizerts/queries/collocated.aql
index 6b3ed03..8b8acaf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/collocated.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/collocated.aql
@@ -41,7 +41,7 @@
primary key vid;
-write output to nc1:"/tmp/fuzzy1.adm";
+write output to asterix_nc1:"/tmp/fuzzy1.adm";
for $user in dataset('Users')
for $visitor in dataset('Visitors')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/consolidate-selects-complex.aql b/asterix-app/src/test/resources/optimizerts/queries/consolidate-selects-complex.aql
index e404306..ed9bbb4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/consolidate-selects-complex.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/consolidate-selects-complex.aql
@@ -28,16 +28,16 @@
misc: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset DBLP(DBLPType)
primary key id on group1;
load dataset DBLP
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
-(("path"="nc1://data/dblp-small/dblp-small-id.txt"),("format"="delimited-text"),("delimiter"=":")) pre-sorted;
+(("path"="asterix_nc1://data/dblp-small/dblp-small-id.txt"),("format"="delimited-text"),("delimiter"=":")) pre-sorted;
-write output to nc1:"rttest/consolidate-complex-selects.aql";
+write output to asterix_nc1:"rttest/consolidate-complex-selects.aql";
for $paper in dataset('DBLP')
let $paper_tokens := word-tokens($paper.title)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/consolidate-selects-simple.aql b/asterix-app/src/test/resources/optimizerts/queries/consolidate-selects-simple.aql
index 00fafa4..fa272ef 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/consolidate-selects-simple.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/consolidate-selects-simple.aql
@@ -31,12 +31,12 @@
c_comment: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Customers(CustomerType)
primary key c_custkey on group1;
-write output to nc1:"rttest/consolidate-selects-simple.aql";
+write output to asterix_nc1:"rttest/consolidate-selects-simple.aql";
for $c in dataset('Customers')
where $c.c_name = "testname"
diff --git a/asterix-app/src/test/resources/optimizerts/queries/const-folding.aql b/asterix-app/src/test/resources/optimizerts/queries/const-folding.aql
index 8dcc006..ee4b191 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/const-folding.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/const-folding.aql
@@ -20,7 +20,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/divide.adm";
+write output to asterix_nc1:"rttest/divide.adm";
let $x := [ "foo", "bar" ]
let $r := { "a": 1+2, "b": $x[0] }
diff --git a/asterix-app/src/test/resources/optimizerts/queries/count-tweets.aql b/asterix-app/src/test/resources/optimizerts/queries/count-tweets.aql
index 4439745..b46d573 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/count-tweets.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/count-tweets.aql
@@ -30,9 +30,9 @@
create external dataset TwitterData(Tweet)
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
-(("path"="nc1://data/twitter/smalltweets.txt"),("format"="adm"));
+(("path"="asterix_nc1://data/twitter/smalltweets.txt"),("format"="adm"));
-write output to nc1:"/tmp/count-tweets.adm";
+write output to asterix_nc1:"/tmp/count-tweets.adm";
for $t in dataset('TwitterData')
let $tokens := word-tokens($t.text)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/cust_group_no_agg.aql b/asterix-app/src/test/resources/optimizerts/queries/cust_group_no_agg.aql
index 989d0d3..2ad271e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/cust_group_no_agg.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/cust_group_no_agg.aql
@@ -33,12 +33,12 @@
c_comment: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Customers(CustomerType)
primary key c_custkey on group1;
-write output to nc1:"/tmp/.adm";
+write output to asterix_nc1:"/tmp/.adm";
for $c in dataset('Customers')
group by $name := $c.c_name with $c
diff --git a/asterix-app/src/test/resources/optimizerts/queries/denorm-cust-order.aql b/asterix-app/src/test/resources/optimizerts/queries/denorm-cust-order.aql
index 78a9469..dbaf7be 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/denorm-cust-order.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/denorm-cust-order.aql
@@ -51,14 +51,14 @@
total: float
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Customers(CustomerType)
primary key cid on group1;
create dataset Orders(OrderType)
primary key oid on group1;
-write output to nc1:"/tmp/custorder.adm";
+write output to asterix_nc1:"/tmp/custorder.adm";
for $c in dataset('Customers')
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/distinct_aggregate.aql b/asterix-app/src/test/resources/optimizerts/queries/distinct_aggregate.aql
index ed53ebf..f43e993 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/distinct_aggregate.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/distinct_aggregate.aql
@@ -39,12 +39,12 @@
l_comment: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset LineItems_q1(LineItemType)
primary key l_orderkey, l_linenumber on group1;
-write output to nc1:"rttest/tpch_q1_pricing_summary_report_nt.adm";
+write output to asterix_nc1:"rttest/tpch_q1_pricing_summary_report_nt.adm";
for $g in
(
diff --git a/asterix-app/src/test/resources/optimizerts/queries/filter-nested.aql b/asterix-app/src/test/resources/optimizerts/queries/filter-nested.aql
index 095d30c..ec6efc8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/filter-nested.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/filter-nested.aql
@@ -22,7 +22,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/filter-nested.adm";
+write output to asterix_nc1:"rttest/filter-nested.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/fj-dblp-csx.aql b/asterix-app/src/test/resources/optimizerts/queries/fj-dblp-csx.aql
index 84155bd..966d0b6 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/fj-dblp-csx.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/fj-dblp-csx.aql
@@ -38,12 +38,12 @@
misc: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset DBLP(DBLPType) primary key id on group1;
create dataset CSX(CSXType) primary key id on group1;
-write output to nc1:'rttest/fj-dblp-csx.adm';
+write output to asterix_nc1:'rttest/fj-dblp-csx.adm';
for $paperDBLP in dataset('DBLP')
let $idDBLP := $paperDBLP.id
diff --git a/asterix-app/src/test/resources/optimizerts/queries/fj-phase1.aql b/asterix-app/src/test/resources/optimizerts/queries/fj-phase1.aql
index 82432e9..6ef16b5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/fj-phase1.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/fj-phase1.aql
@@ -34,7 +34,7 @@
lottery_numbers: {{int32}}
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Users(UserType)
primary key uid on group1;
@@ -46,7 +46,7 @@
// set simfunction "jaccard";
// set simthreshold ".8";
-write output to nc1:"/tmp/rares03.adm";
+write output to asterix_nc1:"/tmp/rares03.adm";
for $user in dataset('Users')
let $tokens :=
diff --git a/asterix-app/src/test/resources/optimizerts/queries/fj-phase2-with-hints.aql b/asterix-app/src/test/resources/optimizerts/queries/fj-phase2-with-hints.aql
index 4af0b89..47533a7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/fj-phase2-with-hints.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/fj-phase2-with-hints.aql
@@ -30,12 +30,12 @@
misc: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset DBLP_fuzzyjoin_078(DBLPType)
primary key id on group1;
-write output to nc1:'rttest/fuzzyjoin_078.adm';
+write output to asterix_nc1:'rttest/fuzzyjoin_078.adm';
//
// -- - Stage 2 - --
diff --git a/asterix-app/src/test/resources/optimizerts/queries/hashjoin-with-unnest.aql b/asterix-app/src/test/resources/optimizerts/queries/hashjoin-with-unnest.aql
index 1ef32e0..8ae6165 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/hashjoin-with-unnest.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/hashjoin-with-unnest.aql
@@ -34,7 +34,7 @@
create dataset t1(TestType) primary key id;
create dataset t2(TestType) primary key id;
-write output to nc1:"rttest/hahsjoin-with-unnest.adm";
+write output to asterix_nc1:"rttest/hahsjoin-with-unnest.adm";
for $m in dataset('t1')
for $n in dataset('t2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inline-funs.aql b/asterix-app/src/test/resources/optimizerts/queries/inline-funs.aql
index a403987..b9999bc 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inline-funs.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inline-funs.aql
@@ -20,7 +20,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"/tmp/inline_funs.adm";
+write output to asterix_nc1:"/tmp/inline_funs.adm";
declare function f1() { 1 + f2() }
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inlined_q18_large_volume_customer.aql b/asterix-app/src/test/resources/optimizerts/queries/inlined_q18_large_volume_customer.aql
index 75578530..f5537db 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inlined_q18_large_volume_customer.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inlined_q18_large_volume_customer.aql
@@ -64,7 +64,7 @@
c_comment: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset LineItems(LineItemType)
primary key l_orderkey, l_linenumber on group1;
@@ -73,7 +73,7 @@
create dataset Customers(CustomerType)
primary key c_custkey on group1;
-write output to nc1:"/tmp/inlined_q18_large_volume_customer.adm";
+write output to asterix_nc1:"/tmp/inlined_q18_large_volume_customer.adm";
for $c in dataset('Customers')
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/introhashpartitionmerge.aql b/asterix-app/src/test/resources/optimizerts/queries/introhashpartitionmerge.aql
index 1fefe35..261a357 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/introhashpartitionmerge.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/introhashpartitionmerge.aql
@@ -25,11 +25,11 @@
rank: int32
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset TOKENSRANKEDADM(TOKENSRANKEDADMType) primary key rank on group1;
-write output to nc1:'rttest/introhashpartitionmerge.adm';
+write output to asterix_nc1:'rttest/introhashpartitionmerge.adm';
for $token1 in dataset('TOKENSRANKEDADM')
for $token2 in
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-contains-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-contains-panic.aql
index 2822866..488ed70 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-contains-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-contains-panic.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-contains-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-contains-panic.adm";
// Cannot optimize this query because the string constant is shorter than the gram length.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-contains.aql
index 3b41a96..ba460a6 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-contains.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-contains.adm";
for $o in dataset('DBLP')
where contains($o.title, "Multimedia")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-check-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-check-panic.aql
index 8f59bbf..4d0219c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-check-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-check-panic.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-check-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-check-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-check.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-check.aql
index 392fb41..81780a2 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-check.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-check.adm";
for $o in dataset('DBLP')
where edit-distance-check($o.authors, "Amihay Motro", 1)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-panic.aql
index f39a622..aa51e50 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance-panic.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance.aql
index 8c23176..6917878 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-edit-distance.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance.adm";
for $o in dataset('DBLP')
where edit-distance($o.authors, "Amihay Motro") <= 1
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
index fc3eebb..b4d342c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-edit-distance.adm";
set simfunction 'edit-distance';
set simthreshold '1';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
index 33cc61a..55f1830 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.8f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-jaccard-check.aql
index fa9bdc2..c7d273d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-jaccard-check.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-jaccard-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-jaccard-check.adm";
for $o in dataset('DBLP')
where similarity-jaccard-check(gram-tokens($o.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false), 0.5f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-jaccard.aql
index 6f3eeaf..da87bc0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ngram-jaccard.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-jaccard.adm";
for $o in dataset('DBLP')
where similarity-jaccard(gram-tokens($o.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false)) >= 0.5f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-check-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-check-panic.aql
index b3683d1..88b0d58 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-check-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-check-panic.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-edit-distance-check-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-edit-distance-check-panic.adm";
// Index should not be applied because all list elements can be modified by 3 edit operations.
for $c in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-check.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-check.aql
index 89764a7..d107b68 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-check.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-edit-distance-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-edit-distance-check.adm";
for $c in dataset('Customers')
where edit-distance-check($c.interests, ["computers", "wine", "walking"], 1)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-panic.aql
index 2d315dd..f4d5e14 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance-panic.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-edit-distance-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-edit-distance-panic.adm";
// Index should not be applied because all list elements can be modified by 3 edit operations.
for $c in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance.aql
index 6d011f3..687e55d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-edit-distance.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-edit-distance.adm";
for $c in dataset('Customers')
where edit-distance($c.interests, ["computers", "wine", "walking"]) <= 1
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-fuzzyeq-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-fuzzyeq-edit-distance.aql
index 3659f0d..8833eaf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-fuzzyeq-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-fuzzyeq-edit-distance.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-fuzzyeq-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-fuzzyeq-edit-distance.adm";
set simfunction 'edit-distance';
set simthreshold '1';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-fuzzyeq-jaccard.aql
index 219f355..d0df75f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-fuzzyeq-jaccard.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.8f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-jaccard-check.aql
index 1f5ef22..97e9962 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-jaccard-check.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-jaccard-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-jaccard-check.adm";
for $c in dataset('Customers')
where similarity-jaccard-check($c.interests, ["databases", "computers", "wine"], 0.7f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-jaccard.aql
index 2712ce0..329b26a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/olist-jaccard.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-jaccard.adm";
for $c in dataset('Customers')
where similarity-jaccard($c.interests, ["databases", "computers", "wine"]) >= 0.7f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-fuzzyeq-jaccard.aql
index 5454526..c20493a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-fuzzyeq-jaccard.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_ulist-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ulist-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.8f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-jaccard-check.aql
index 14c27de..cb6c0c4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-jaccard-check.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_ulist-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ulist-jaccard.adm";
for $c in dataset('Customers')
where similarity-jaccard-check($c.interests, {{"computers", "wine", "databases"}}, 0.7f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-jaccard.aql
index 17a3520..c0cdd4f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/ulist-jaccard.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_ulist-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ulist-jaccard.adm";
for $c in dataset('Customers')
where similarity-jaccard($c.interests, {{"computers", "databases", "wine"}}) >= 0.7f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-contains.aql
index 3180470..191a9bf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-contains.aql
@@ -38,7 +38,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-basic_word-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-contains.adm";
// Contains cannot be answered with a word inverted index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-fuzzyeq-jaccard.aql
index afd0b1b..ad2c577 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-fuzzyeq-jaccard.aql
@@ -38,7 +38,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-basic_word-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-jaccard-check.aql
index 967e4d3..6f4497f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-jaccard-check.aql
@@ -38,7 +38,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-basic_word-jaccard-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-jaccard-check.adm";
for $o in dataset('DBLP')
where similarity-jaccard-check(word-tokens($o.title), word-tokens("Transactions for Cooperative Environments"), 0.5f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-jaccard.aql
index 52debf0..c96de32 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-basic/word-jaccard.aql
@@ -38,7 +38,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-basic_word-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-jaccard.adm";
for $o in dataset('DBLP')
where similarity-jaccard(word-tokens($o.title), word-tokens("Transactions for Cooperative Environments")) >= 0.5f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
index f0e0c9e..cbe5b17 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
@@ -40,7 +40,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
// Only the first edit-distance-check can be optimized with an index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
index df9c802..a40a4de 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
@@ -40,7 +40,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
// Only the second edit-distance-check can be optimized with an index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
index 89e5e2c..fc3894f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let.aql
index 9374c07..09173ce 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-let.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let.adm";
for $o in dataset('DBLP')
let $ed := edit-distance-check($o.authors, "Amihay Motro", 1)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-substring.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-substring.aql
index 8f8d820..73293bc 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-substring.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-substring.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-substring.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-substring.adm";
for $paper in dataset('DBLP')
where edit-distance-check(substring($paper.title, 0, 8), "datbase", 1)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
index 137a793..30bc42f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-word-tokens.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-word-tokens.adm";
for $paper in dataset('DBLP')
for $word in word-tokens($paper.title)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-jaccard-check-let.aql
index 5d47e7b..3271c8a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-jaccard-check-let.aql
@@ -40,7 +40,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-jaccard-check-let.adm";
for $o in dataset('DBLP')
let $jacc := similarity-jaccard-check(gram-tokens($o.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false), 0.5f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-jaccard-check-multi-let.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-jaccard-check-multi-let.aql
index 732f1e8..dfeda68 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-jaccard-check-multi-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ngram-jaccard-check-multi-let.aql
@@ -40,7 +40,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-jaccard-check-multi-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-jaccard-check-multi-let.adm";
// This test is complex because we have three assigns to drill into.
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-edit-distance-check-let-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-edit-distance-check-let-panic.aql
index 82d5a1c..2cb65d1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-edit-distance-check-let-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-edit-distance-check-let-panic.aql
@@ -46,7 +46,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-complex_olist-edit-distance-check-let-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_olist-edit-distance-check-let-panic.adm";
for $c in dataset('Customers')
let $ed := edit-distance-check($c.interests, ["computers", "wine", "walking"], 3)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-edit-distance-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-edit-distance-check-let.aql
index 10591c5..9646383 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-edit-distance-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-edit-distance-check-let.aql
@@ -46,7 +46,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-complex_olist-edit-distance-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_olist-edit-distance-check-let.adm";
for $c in dataset('Customers')
let $ed := edit-distance-check($c.interests, ["computers", "wine", "walking"], 1)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-jaccard-check-let.aql
index b7da46b..a274b9f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/olist-jaccard-check-let.aql
@@ -46,7 +46,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-complex_olist-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_olist-jaccard-check-let.adm";
for $c in dataset('Customers')
let $jacc := similarity-jaccard-check($c.interests, ["databases", "computers", "wine"], 0.7f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ulist-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ulist-jaccard-check-let.aql
index cecc2ea..9d3ca6c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ulist-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/ulist-jaccard-check-let.aql
@@ -46,7 +46,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-complex_ulist-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ulist-jaccard-check-let.adm";
for $c in dataset('Customers')
let $jacc := similarity-jaccard-check($c.interests, ["databases", "computers", "wine"], 0.7f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/word-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/word-jaccard-check-let.aql
index 81eaea2..d932d23 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/word-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/word-jaccard-check-let.aql
@@ -39,7 +39,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-complex_word-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_word-jaccard-check-let.adm";
for $o in dataset('DBLP')
let $jacc := similarity-jaccard-check(word-tokens($o.title), word-tokens("Transactions for Cooperative Environments"), 0.5f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/word-jaccard-check-multi-let.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/word-jaccard-check-multi-let.aql
index 2c2efe6..79fe390 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/word-jaccard-check-multi-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-complex/word-jaccard-check-multi-let.aql
@@ -39,7 +39,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-complex_word-jaccard-check-multi-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_word-jaccard-check-multi-let.adm";
// This test is complex because we have three assigns to drill into.
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-edit-distance-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-edit-distance-inline.aql
index 012baa5..b99bc22 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-edit-distance-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-edit-distance-inline.aql
@@ -40,7 +40,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ngram-edit-distance-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ngram-edit-distance-inline.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-edit-distance.aql
index 2775d56..991dd0b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-edit-distance.aql
@@ -49,7 +49,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ngram-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ngram-edit-distance.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-fuzzyeq-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-fuzzyeq-edit-distance.aql
index 4856646..d4491eb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-fuzzyeq-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-fuzzyeq-edit-distance.aql
@@ -49,7 +49,7 @@
create index ngram_index on CSX(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ngram-fuzzyeq-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ngram-fuzzyeq-edit-distance.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-fuzzyeq-jaccard.aql
index 7647406..635b331 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-fuzzyeq-jaccard.aql
@@ -50,7 +50,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ngram-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ngram-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-jaccard-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-jaccard-inline.aql
index 4e57ec2..04d57a4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-jaccard-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-jaccard-inline.aql
@@ -41,7 +41,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ngram-jaccard-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ngram-jaccard-inline.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-jaccard.aql
index 3bf85c6..5449ea4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ngram-jaccard.aql
@@ -50,7 +50,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ngram-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ngram-jaccard.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-edit-distance-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-edit-distance-inline.aql
index 44912a1..5d48e10 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-edit-distance-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-edit-distance-inline.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_olist-edit-distance-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_olist-edit-distance-inline.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-edit-distance.aql
index 0d730de..8d7bb42 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-edit-distance.aql
@@ -48,7 +48,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_olist-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_olist-edit-distance.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-fuzzyeq-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-fuzzyeq-edit-distance.aql
index 03f93ae..416e89f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-fuzzyeq-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-fuzzyeq-edit-distance.aql
@@ -48,7 +48,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_olist-fuzzyeq-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_olist-fuzzyeq-edit-distance.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-fuzzyeq-jaccard.aql
index 30f7e89..48f30a5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-fuzzyeq-jaccard.aql
@@ -48,7 +48,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_olist-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_olist-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.7f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-jaccard-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-jaccard-inline.aql
index c7ac33b..d074b0f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-jaccard-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-jaccard-inline.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_olist-jaccard-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_olist-jaccard-inline.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-jaccard.aql
index 6df6bac..a6767bd 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/olist-jaccard.aql
@@ -48,7 +48,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_olist-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_olist-jaccard.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-fuzzyeq-jaccard.aql
index 24cb5cb..907afce 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-fuzzyeq-jaccard.aql
@@ -48,7 +48,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ulist-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ulist-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.7f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-jaccard-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-jaccard-inline.aql
index f546784..56697c5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-jaccard-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-jaccard-inline.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ulist-jaccard-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ulist-jaccard-inline.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-jaccard.aql
index 2331c57..2bc78e0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/ulist-jaccard.aql
@@ -48,7 +48,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ulist-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ulist-jaccard.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-fuzzyeq-jaccard.aql
index 5746900..0640ee0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-fuzzyeq-jaccard.aql
@@ -49,7 +49,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_word-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_word-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-jaccard-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-jaccard-inline.aql
index d7ca281..b917cda 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-jaccard-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-jaccard-inline.aql
@@ -40,7 +40,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_word-jaccard-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_word-jaccard-inline.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-jaccard.aql
index 3d76fec..0902832 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join-noeqjoin/word-jaccard.aql
@@ -49,7 +49,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_word-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_word-jaccard.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/issue741.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/issue741.aql
index 1cbdb60..db0f001 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/issue741.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/issue741.aql
@@ -49,7 +49,7 @@
create index topicIIx on TweetMessages(referred_topics) type keyword;
-write output to nc1:"rttest/inverted-index-join_issue741.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_issue741.adm";
for $t in dataset('TweetMessages')
where $t.send_time >= datetime('2011-06-18T14:10:17')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
index 5445f97..5e8b180 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
@@ -57,7 +57,7 @@
create index msgNgramIx on TweetMessages(message-text) type ngram(3);
create index topicKeywordIx on TweetMessages(referred-topics) type keyword;
-write output to nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-edit-distance-check_idx_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-edit-distance-check_idx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.tweetid > int64("240")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/leftouterjoin-probe-pidx-with-join-jaccard-check-idx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/leftouterjoin-probe-pidx-with-join-jaccard-check-idx_01.aql
index a76737b..c5d13c5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/leftouterjoin-probe-pidx-with-join-jaccard-check-idx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/leftouterjoin-probe-pidx-with-join-jaccard-check-idx_01.aql
@@ -57,7 +57,7 @@
create index msgNgramIx on TweetMessages(message-text) type ngram(3);
create index topicKeywordIx on TweetMessages(referred-topics) type keyword;
-write output to nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-jaccard-check_idx_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-jaccard-check_idx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.tweetid > int64("240")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-contains.aql
index 54ada51..30afec8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-contains.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-contains.adm";
for $o1 in dataset('DBLP')
for $o2 in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_01.aql
index eaa6efd..e3d2c61 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_01.aql
@@ -48,7 +48,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_02.aql
index 95f4a08..cf2222d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_02.aql
@@ -48,7 +48,7 @@
create index ngram_index on CSX(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_03.aql
index 83551ee..62964d9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_03.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_04.aql
index f875bfa..5961d13 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-check_04.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_04.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-contains.aql
index e8a7f74..4178083 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance-contains.aql
@@ -48,7 +48,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-contains.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_01.aql
index 1a52cce..4a1ace5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_01.aql
@@ -48,7 +48,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_02.aql
index 82ef2e5..c1a1817 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_02.aql
@@ -48,7 +48,7 @@
create index ngram_index on CSX(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_03.aql
index a51a75b..c65b61b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_03.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_04.aql
index 63216da..6287cb0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-edit-distance_04.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
index c738926..66bb2ac 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
@@ -48,7 +48,7 @@
create index ngram_index on CSX(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql
index 5646651..cfed751 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql
@@ -48,7 +48,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql
index 3f26526..c611d3a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_03.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
index bd270d9..93e3a5f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
@@ -49,7 +49,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql
index 6b118c5..085a383 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql
@@ -49,7 +49,7 @@
create index ngram_index on CSX(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_02.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql
index 98b1c43..444b735 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_03.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_01.aql
index baca4eb..629b72a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_01.aql
@@ -49,7 +49,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_02.aql
index 5ff20ff..31ec7a5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_02.aql
@@ -49,7 +49,7 @@
create index ngram_index on CSX(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_03.aql
index 9191dc5..6255558 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_03.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_04.aql
index 894eaea..f70df08 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard-check_04.aql
@@ -40,7 +40,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_04.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_01.aql
index ace312c..36ba05c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_01.aql
@@ -49,7 +49,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_02.aql
index 9274ffa..2e1b065 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_02.aql
@@ -49,7 +49,7 @@
create index ngram_index on CSX(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_03.aql
index 11c7460..31003d4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_03.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_04.aql
index 1b1bf6d..1e86763 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ngram-jaccard_04.aql
@@ -40,7 +40,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_04.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_01.aql
index 16ed176..10a7c91 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_01.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-edit-distance-check_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_02.aql
index 83f9c5c..f074ad1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_02.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers2(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-edit-distance-check_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-edit-distance-check_02.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_03.aql
index 1e6180a..723d0b5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_03.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-edit-distance-check_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-edit-distance-check_03.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_04.aql
index cc08d87..0bb95d5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance-check_04.aql
@@ -46,7 +46,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-edit-distance-check_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-edit-distance-check_04.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_01.aql
index 48d80bb..8628ed4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_01.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-edit-distance_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_02.aql
index 5cc6fbd..e5f5b40 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_02.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers2(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-edit-distance_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-edit-distance_02.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_03.aql
index 33d8f4c..f78a6bd 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_03.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-edit-distance_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-edit-distance_03.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_04.aql
index 2771275..c4e037f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-edit-distance_04.aql
@@ -46,7 +46,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-edit-distance_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-edit-distance_04.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_01.aql
index 09ec10f..05d275b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_01.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_02.aql
index 1916bc4..c5a558c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_02.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers2(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_02.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_03.aql
index 4c1e3ae..c96c0e4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-edit-distance_03.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_03.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_01.aql
index 2cdfeb3..09cc6e4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_01.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.7f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_02.aql
index abe2fa0..f90593a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_02.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers2(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_02.adm";
set simfunction 'jaccard';
set simthreshold '0.7f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_03.aql
index 601fbd2..264c93a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-fuzzyeq-jaccard_03.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_03.adm";
set simfunction 'jaccard';
set simthreshold '0.7f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_01.aql
index c7ad220..0459a4b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_01.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-jaccard-check_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_02.aql
index 641e3e4..ce60fe5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_02.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers2(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-jaccard-check_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-jaccard-check_02.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_03.aql
index 134a900..edaba17 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_03.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-jaccard-check_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-jaccard-check_03.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_04.aql
index a9faead..3d704f2 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard-check_04.aql
@@ -46,7 +46,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-jaccard-check_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-jaccard-check_04.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_01.aql
index df5d99f..c76880d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_01.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-jaccard_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_02.aql
index 6523a4a..55c34ff 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_02.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers2(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-jaccard_02.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_03.aql
index ae7931b..37725d9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_03.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-jaccard_03.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_04.aql
index 2980793..1bba03c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/olist-jaccard_04.aql
@@ -46,7 +46,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-jaccard_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-jaccard_04.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_01.aql
index 264054b..aacd110 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_01.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.7f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_02.aql
index 192512a..b918bac 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_02.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers2(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-fuzzyeq-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-fuzzyeq-jaccard_02.adm";
set simfunction 'jaccard';
set simthreshold '0.7f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_03.aql
index 1091c95..64260d1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-fuzzyeq-jaccard_03.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-fuzzyeq-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-fuzzyeq-jaccard_03.adm";
set simfunction 'jaccard';
set simthreshold '0.7f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_01.aql
index d98b940..9560995 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_01.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-jaccard-check_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_02.aql
index 2fe0880..0a1f2f8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_02.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers2(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-jaccard-check_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-jaccard-check_02.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_03.aql
index dee353f..f489f34 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_03.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-jaccard-check_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-jaccard-check_03.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_04.aql
index 08c89fb..6c87995 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard-check_04.aql
@@ -46,7 +46,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-jaccard-check_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-jaccard-check_04.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_01.aql
index 04de108..887ac20 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_01.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-jaccard_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_02.aql
index 6dc88ec..8a6d743 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_02.aql
@@ -47,7 +47,7 @@
create index interests_index on Customers2(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-jaccard_02.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_03.aql
index 10c8e18..ef5269a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_03.aql
@@ -45,7 +45,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-jaccard_03.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_04.aql
index eebd80c..72a8dca 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/ulist-jaccard_04.aql
@@ -46,7 +46,7 @@
create index interests_index on Customers(interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-jaccard_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-jaccard_04.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_01.aql
index e04eeec..d9a5afa 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_01.aql
@@ -48,7 +48,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_02.aql
index 341a514..6b1feb6 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_02.aql
@@ -48,7 +48,7 @@
create index keyword_index on CSX(title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_02.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_03.aql
index 3203e87..d305ba0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-fuzzyeq-jaccard_03.aql
@@ -38,7 +38,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_03.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check-after-btree-access.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check-after-btree-access.aql
index 4a5a914..39ed374 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check-after-btree-access.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check-after-btree-access.aql
@@ -56,7 +56,7 @@
create index msgCountBIx on TweetMessages(countB) type btree;
create index msgTextIx on TweetMessages(message-text) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check-after-btree-access.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check-after-btree-access.adm";
for $t1 in dataset('TweetMessages')
for $t2 in dataset('TweetMessages')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_01.aql
index 1394638..78be4fe 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_01.aql
@@ -48,7 +48,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_02.aql
index 50f0d18..0a63d12 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_02.aql
@@ -48,7 +48,7 @@
create index keyword_index on CSX(title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_03.aql
index a1bbd1b..5c97de1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_03.aql
@@ -38,7 +38,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_04.aql
index f10bf22..7481ed3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard-check_04.aql
@@ -39,7 +39,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_04.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_01.aql
index 2bdc7c5..21d5c3e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_01.aql
@@ -48,7 +48,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_02.aql
index cbfe95a..1b123a6 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_02.aql
@@ -48,7 +48,7 @@
create index keyword_index on CSX(title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_03.aql
index 90c05ff..e0a2568 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_03.aql
@@ -38,7 +38,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_04.aql
index 641fd5e..f3ca957 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/inverted-index-join/word-jaccard_04.aql
@@ -39,7 +39,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_04.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/join-super-key_01.aql b/asterix-app/src/test/resources/optimizerts/queries/join-super-key_01.aql
index 4709f67..65029f3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/join-super-key_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/join-super-key_01.aql
@@ -79,9 +79,9 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
-write output to nc1:"/tmp/join-super-key_01.adm";
+write output to asterix_nc1:"/tmp/join-super-key_01.adm";
create dataset LineItems(LineItemType)
primary key l_partkey, l_linenumber on group1;
diff --git a/asterix-app/src/test/resources/optimizerts/queries/join-super-key_02.aql b/asterix-app/src/test/resources/optimizerts/queries/join-super-key_02.aql
index b9d3517..831976f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/join-super-key_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/join-super-key_02.aql
@@ -79,9 +79,9 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
-write output to nc1:"/tmp/join-super-key_01.adm";
+write output to asterix_nc1:"/tmp/join-super-key_01.adm";
create dataset LineItems(LineItemType)
primary key l_partkey, l_linenumber on group1;
diff --git a/asterix-app/src/test/resources/optimizerts/queries/limit-issue353.aql b/asterix-app/src/test/resources/optimizerts/queries/limit-issue353.aql
index dc20c37..53ee86b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/limit-issue353.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/limit-issue353.aql
@@ -50,7 +50,7 @@
create dataset LineItem(LineItemType)
primary key l_orderkey, l_linenumber;
-write output to nc1:"/tmp/push_limit.adm";
+write output to asterix_nc1:"/tmp/push_limit.adm";
for $l in dataset('LineItem')
limit 2
diff --git a/asterix-app/src/test/resources/optimizerts/queries/loj-super-key_01.aql b/asterix-app/src/test/resources/optimizerts/queries/loj-super-key_01.aql
index 451dc46..ad6833d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/loj-super-key_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/loj-super-key_01.aql
@@ -79,9 +79,9 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
-write output to nc1:"/tmp/loj-super-key_01.adm";
+write output to asterix_nc1:"/tmp/loj-super-key_01.adm";
create dataset LineItems(LineItemType)
primary key l_partkey, l_linenumber on group1;
diff --git a/asterix-app/src/test/resources/optimizerts/queries/loj-super-key_02.aql b/asterix-app/src/test/resources/optimizerts/queries/loj-super-key_02.aql
index 6ed91b5..e0678e9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/loj-super-key_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/loj-super-key_02.aql
@@ -79,9 +79,9 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
-write output to nc1:"/tmp/loj-super-key_01.adm";
+write output to asterix_nc1:"/tmp/loj-super-key_01.adm";
create dataset LineItems(LineItemType)
primary key l_partkey, l_linenumber on group1;
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01.aql
index dec7511..978fee3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01.aql
@@ -56,7 +56,7 @@
create index msgCountBIx on TweetMessages(nested.countB) type btree;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.nested.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02.aql
index 37e583f..e990e93 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02.aql
@@ -56,7 +56,7 @@
create index msgCountBIx on TweetMessages(nested.countB) type btree;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
for $t1 in dataset('TweetMessages')
where $t1.nested.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_01.aql
index 1eeac0a..c1879ee 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_01.aql
@@ -38,7 +38,7 @@
create dataset Names(Name) primary key nested.fname,nested.lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_01.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_02.aql
index 77225aa..e6b5787 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_02.aql
@@ -38,7 +38,7 @@
create dataset Names(Name) primary key nested.fname,nested.lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_02.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_03.aql
index 4fb4a9e..3927162 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-join_03.aql
@@ -38,7 +38,7 @@
create dataset Names(Name) primary key nested.fname,nested.lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_03.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-join_03.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_01.aql
index 704cd72..c8e66a9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_01.aql
@@ -38,7 +38,7 @@
create dataset Names(Name) primary key nested.fname,nested.lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_01.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_02.aql
index 0e7836f..c8512fc 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_02.aql
@@ -38,7 +38,7 @@
create dataset Names(Name) primary key nested.fname,nested.lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_02.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_03.aql
index 1c4de39..912b3c7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_03.aql
@@ -38,7 +38,7 @@
create dataset Names(Name) primary key nested.fname,nested.lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_03.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_03.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_04.aql
index 7ee5a44..bc49b9a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_04.aql
@@ -38,7 +38,7 @@
create dataset Names(Name) primary key nested.fname,nested.lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_04.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_04.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_05.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_05.aql
index f419366..fd3337f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_05.aql
@@ -38,7 +38,7 @@
create dataset Names(Name) primary key nested.fname,nested.lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_05.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_05.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_06.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_06.aql
index d5f1672..23e9e5e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_06.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-composite-key-prefix-join_06.aql
@@ -38,7 +38,7 @@
create dataset Names(Name) primary key nested.fname,nested.lname;
-write output to nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_06.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-composite-key-prefix-prefix-join_06.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join-multipred.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join-multipred.aql
index 32d8368..3662074 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join-multipred.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join-multipred.aql
@@ -66,7 +66,7 @@
create dataset Customers(CustomerType) primary key nested.cid;
create dataset Orders(OrderType) primary key nested.oid;
-write output to nc1:"rttest/btree-index-join_primary-equi-join-multipred.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join-multipred.adm";
for $c in dataset('Customers')
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join-neg_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join-neg_01.aql
index de89227..d95a193 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join-neg_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join-neg_01.aql
@@ -42,7 +42,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-equi-join-neg_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join-neg_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_01.aql
index 78c06af..1f6ff8f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_01.aql
@@ -42,7 +42,7 @@
// Please note content enclosed in the comment in the predicate is a HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-equi-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_02.aql
index 9997339..fb5e452 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_02.aql
@@ -42,7 +42,7 @@
// Please note content enclosed in the comment in the predicate is a HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-equi-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join_02.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_03.aql
index 1e1c289..0b9df82 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_03.aql
@@ -64,7 +64,7 @@
create dataset Customers(CustomerType) primary key nested.cid;
create dataset Orders(OrderType) primary key nested.oid;
-write output to nc1:"rttest/btree-index-join_primary-equi-join_04.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join_04.adm";
for $c in dataset('Customers')
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_04.aql
index cfc530f..aa4f69e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_04.aql
@@ -64,7 +64,7 @@
create dataset Customers(CustomerType) primary key nested.cid;
create dataset Orders(OrderType) primary key nested.oid;
-write output to nc1:"rttest/btree-index-join_primary-equi-join_05.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join_05.adm";
for $o in dataset('Orders')
for $c in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_05.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_05.aql
index 11c0528..1a4a8d2 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-equi-join_05.aql
@@ -50,7 +50,7 @@
create dataset Customers(CustomerType) primary key nested.cid;
-write output to nc1:"rttest/btree-index-join_primary-equi-join_06.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-equi-join_06.adm";
for $c1 in dataset('Customers')
for $c2 in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-ge-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-ge-join_01.aql
index d811eb6..c230ee7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-ge-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-ge-join_01.aql
@@ -42,7 +42,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-ge-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-ge-join_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-gt-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-gt-join_01.aql
index 0f62791..1d50be7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-gt-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-gt-join_01.aql
@@ -42,7 +42,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-gt-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-gt-join_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-le-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-le-join_01.aql
index 8112253..e66f0b8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-le-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-le-join_01.aql
@@ -42,7 +42,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-le-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-le-join_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-lt-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-lt-join_01.aql
index a9e4543..a0d32a0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-lt-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/primary-lt-join_01.aql
@@ -42,7 +42,7 @@
// Please note content enclosed in the comment in the predicate is the HINT to the optimizer
-write output to nc1:"rttest/btree-index-join_primary-lt-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_primary-lt-join_01.adm";
for $x in dataset('test1.DsOne')
for $y in dataset('test1.DsTwo')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join-multiindex.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join-multiindex.aql
index 80d514f..468e715 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join-multiindex.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join-multiindex.aql
@@ -72,7 +72,7 @@
create index fbmIdxAutId if not exists on FacebookMessages(nested.author-id-copy);
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join-multiindex.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join-multiindex.adm";
for $user in dataset('FacebookUsers')
for $message in dataset('FacebookMessages')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join-multipred.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join-multipred.aql
index c7bdd17..d3dacd3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join-multipred.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join-multipred.aql
@@ -59,7 +59,7 @@
create index title_index on DBLP(nested.title);
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join-multipred.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join-multipred.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join_01.aql
index e7a0d21..5e6e852 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index-join/secondary-equi-join_01.aql
@@ -57,7 +57,7 @@
create index title_index on DBLP(nested.title);
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-01.aql
index 12deabb..d7123f7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-01.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-01.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-01.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-02.aql
index 1418837..874c232 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-02.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-02.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-02.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-03.aql
index 4b915ba..b9b3272 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-03.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-03.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-03.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-04.aql
index 5a4752c..ef42b4c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-04.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-04.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-04.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-05.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-05.aql
index cfa529e..d447766 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-05.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-05.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-05.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-06.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-06.aql
index 821c298..f963827 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-06.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-06.aql
@@ -29,7 +29,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-06.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-06.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-07.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-07.aql
index 7010d32..eabae77 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-07.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-07.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-07.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-07.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-08.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-08.aql
index 4e1962d..131cff2 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-08.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-08.aql
@@ -26,7 +26,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-08.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-08.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-09.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-09.aql
index b966072..40a429d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-09.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-09.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-09.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-09.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-10.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-10.aql
index 643a678..570ceac 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-10.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-10.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-10.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-10.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-11.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-11.aql
index d8a3bff..84fb8bb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-11.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-11.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-11.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-11.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-12.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-12.aql
index 2f3787f..bf18468 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-12.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-12.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-12.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-12.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-13.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-13.aql
index f4204ae..17148b1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-13.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-13.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-13.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-13.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-14.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-14.aql
index b025fdc..6b802dd 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-14.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-14.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-14.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-14.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-15.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-15.aql
index cb51d18..04b3b1f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-15.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-15.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-15.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-15.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-16.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-16.aql
index 80ed1a3..9cb620b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-16.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-16.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-16.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-16.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-17.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-17.aql
index 9a94b97..3509cd5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-17.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-17.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-17.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-17.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-18.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-18.aql
index be755b7..9c64748 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-18.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-18.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-18.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-18.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-19.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-19.aql
index 12b8f7a..dece127 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-19.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-19.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-19.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-19.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-20.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-20.aql
index fa31349..8f3a64b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-20.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-20.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-20.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-20.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-21.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-21.aql
index 0333a03..a2585ae 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-21.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-21.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-21.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-21.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-22.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-22.aql
index 796cb25..61b6fd7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-22.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-22.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-22.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-22.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-23.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-23.aql
index b905059..d7fad72 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-23.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-23.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-23.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-23.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-24.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-24.aql
index ee9ee60..f44173e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-24.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-24.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-24.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-24.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-25.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-25.aql
index 4639d29..952fd9e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-25.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-25.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-25.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-25.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-26.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-26.aql
index c7aa940..f44bab0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-26.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-26.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-26.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-26.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-27.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-27.aql
index 1237c98..60bf24e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-27.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-27.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-27.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-27.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-28.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-28.aql
index afb72f0..faa0fbe 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-28.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-28.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-28.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-28.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-29.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-29.aql
index fa8656b..eb30856 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-29.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-29.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-29.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-29.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-30.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-30.aql
index 607f5f7..4e20c32 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-30.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-30.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-30.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-30.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-31.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-31.aql
index 96ac1d3..5c079db 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-31.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-31.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-31.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-31.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-32.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-32.aql
index 40f029b..0ba7e4a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-32.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-primary-32.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-32.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-32.adm";
create type TestTypetmp as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-33.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-33.aql
index 754e9e0..b7e4be1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-33.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-33.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-31.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-31.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-34.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-34.aql
index d410b61..07b40f1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-34.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-34.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-32.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-32.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-35.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-35.aql
index c13cebe..27004fd 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-35.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-35.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-33.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-33.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-36.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-36.aql
index be2f69d..b90d463 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-36.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-36.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-34.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-34.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-37.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-37.aql
index 3a1703c..ecd166f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-37.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-37.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-35.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-35.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-38.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-38.aql
index a8b7749..dca8698 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-38.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-38.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-36.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-36.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-39.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-39.aql
index d7ad080..80af215 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-39.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-39.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-37.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-37.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-40.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-40.aql
index e16980f..8282428 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-40.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-40.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-38.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-38.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-41.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-41.aql
index a062014..07ce0dc 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-41.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-41.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-39.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-39.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-42.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-42.aql
index 5d27544..f5d6275 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-42.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-42.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-40.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-40.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-43.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-43.aql
index c41e474..2499481 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-43.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-43.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-41.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-41.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-44.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-44.aql
index bf948aa..07f6fd4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-44.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-44.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-42.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-42.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-45.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-45.aql
index 93055d1..62ae7c2 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-45.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-45.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-43.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-43.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-46.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-46.aql
index 1f1ca23..5b58a05 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-46.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-46.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-44.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-44.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-47.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-47.aql
index fb268f1..9dca80f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-47.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-47.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-45.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-45.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-48.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-48.aql
index bcfe4be..94f99f2 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-48.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-48.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-46.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-46.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-49.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-49.aql
index 397ec11..70bf2a7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-49.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-49.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-47.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-47.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-50.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-50.aql
index 12a995a..6f8bb61 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-50.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-50.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-48.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-48.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-51.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-51.aql
index 2a69166..6bd87f5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-51.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-51.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-49.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-49.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-52.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-52.aql
index 6c96c3f..ecb41ab 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-52.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-52.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-50.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-50.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-53.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-53.aql
index 6d56071..56507b3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-53.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-53.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-51.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-51.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-54.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-54.aql
index 5d1f87cc..f6c61b6 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-54.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-54.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-52.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-52.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-55.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-55.aql
index 260c64a..ccf4772 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-55.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-55.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-53.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-53.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-56.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-56.aql
index 0e73352..42a4da4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-56.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-56.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-54.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-54.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-57.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-57.aql
index 4004483..5f39274 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-57.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-57.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-55.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-55.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-58.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-58.aql
index 096db43..28e321f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-58.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-58.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-56.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-56.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-59.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-59.aql
index c3280ec..9060d83 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-59.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-59.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-57.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-57.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-60.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-60.aql
index 036729d..c1840d3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-60.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-60.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-58.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-58.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-61.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-61.aql
index 2fa157a..1b17b05 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-61.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-61.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-61.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-61.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-62.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-62.aql
index dfbbcbd..15c84be 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-62.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-62.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-62.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-62.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-63.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-63.aql
index 23fd7a2..2e32bcb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-63.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/btree-index/btree-secondary-63.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-63.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-63.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-contains-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-contains-panic.aql
index 1cbd3f8..f977606 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-contains-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-contains-panic.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-contains-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-contains-panic.adm";
// Cannot optimize this query because the string constant is shorter than the gram length.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-contains.aql
index 1587d7f..63e3dba 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-contains.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-contains.adm";
for $o in dataset('DBLP')
where contains($o.nested.title, "Multimedia")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-check-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-check-panic.aql
index 9846806..cefa81c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-check-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-check-panic.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-check-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-check-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-check.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-check.aql
index c051ec8..7551a42 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-check.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-check.adm";
for $o in dataset('DBLP')
where edit-distance-check($o.nested.authors, "Amihay Motro", 1)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-panic.aql
index 2da5bcf..a8bcfe3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance-panic.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance.aql
index 45b3ee7..dc0baa5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-edit-distance.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance.adm";
for $o in dataset('DBLP')
where edit-distance($o.nested.authors, "Amihay Motro") <= 1
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
index b58fb22..c466756 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-edit-distance.adm";
set simfunction 'edit-distance';
set simthreshold '1';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
index 9905472..346174c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.8f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-jaccard-check.aql
index 7075156..d587987 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-jaccard-check.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-jaccard-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-jaccard-check.adm";
for $o in dataset('DBLP')
where similarity-jaccard-check(gram-tokens($o.nested.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false), 0.5f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-jaccard.aql
index 519c2e4..be61a9d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ngram-jaccard.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-jaccard.adm";
for $o in dataset('DBLP')
where similarity-jaccard(gram-tokens($o.nested.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false)) >= 0.5f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-check-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-check-panic.aql
index 2a43de9..03072ea 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-check-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-check-panic.aql
@@ -53,7 +53,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-edit-distance-check-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-edit-distance-check-panic.adm";
// Index should not be applied because all list elements can be modified by 3 edit operations.
for $c in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-check.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-check.aql
index aed6b72..45e12bf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-check.aql
@@ -52,7 +52,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-edit-distance-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-edit-distance-check.adm";
for $c in dataset('Customers')
where edit-distance-check($c.nested.interests, ["computers", "wine", "walking"], 1)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-panic.aql
index eef792b..3998789 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance-panic.aql
@@ -53,7 +53,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-edit-distance-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-edit-distance-panic.adm";
// Index should not be applied because all list elements can be modified by 3 edit operations.
for $c in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance.aql
index 4b8fc5f..c5c67a0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-edit-distance.aql
@@ -53,7 +53,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-edit-distance.adm";
for $c in dataset('Customers')
where edit-distance($c.nested.interests, ["computers", "wine", "walking"]) <= 1
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-fuzzyeq-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-fuzzyeq-edit-distance.aql
index 3692cf5..f802444 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-fuzzyeq-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-fuzzyeq-edit-distance.aql
@@ -50,7 +50,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-fuzzyeq-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-fuzzyeq-edit-distance.adm";
set simfunction 'edit-distance';
set simthreshold '1';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-fuzzyeq-jaccard.aql
index 5c9b5ac..6ffff30 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-fuzzyeq-jaccard.aql
@@ -50,7 +50,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.8f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-jaccard-check.aql
index d963706..c618992 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-jaccard-check.aql
@@ -50,7 +50,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-jaccard-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-jaccard-check.adm";
for $c in dataset('Customers')
where similarity-jaccard-check($c.nested.interests, ["databases", "computers", "wine"], 0.7f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-jaccard.aql
index 1a37378..47e900e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/olist-jaccard.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_olist-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_olist-jaccard.adm";
for $c in dataset('Customers')
where similarity-jaccard($c.nested.interests, ["databases", "computers", "wine"]) >= 0.7f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-fuzzyeq-jaccard.aql
index 27c2877..a3237a6 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-fuzzyeq-jaccard.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_ulist-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ulist-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.8f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-jaccard-check.aql
index 7f94fdc..9f5cce6 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-jaccard-check.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_ulist-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ulist-jaccard.adm";
for $c in dataset('Customers')
where similarity-jaccard-check($c.nested.interests, {{"computers", "wine", "databases"}}, 0.7f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-jaccard.aql
index ed55c9e..7ebe334 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/ulist-jaccard.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-basic_ulist-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ulist-jaccard.adm";
for $c in dataset('Customers')
where similarity-jaccard($c.nested.interests, {{"computers", "databases", "wine"}}) >= 0.7f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-contains.aql
index 28e406c..20bb147 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-contains.aql
@@ -42,7 +42,7 @@
create index keyword_index on DBLP(nested.title) type keyword;
-write output to nc1:"rttest/inverted-index-basic_word-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-contains.adm";
// Contains cannot be answered with a word inverted index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-fuzzyeq-jaccard.aql
index ff12dd9..f77591c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-fuzzyeq-jaccard.aql
@@ -42,7 +42,7 @@
create index keyword_index on DBLP(nested.title) type keyword;
-write output to nc1:"rttest/inverted-index-basic_word-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-jaccard-check.aql
index af78881..5df3ee3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-jaccard-check.aql
@@ -42,7 +42,7 @@
create index keyword_index on DBLP(nested.title) type keyword;
-write output to nc1:"rttest/inverted-index-basic_word-jaccard-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-jaccard-check.adm";
for $o in dataset('DBLP')
where similarity-jaccard-check(word-tokens($o.nested.title), word-tokens("Transactions for Cooperative Environments"), 0.5f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-jaccard.aql
index c148a59..5aa8f6e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-basic/word-jaccard.aql
@@ -42,7 +42,7 @@
create index keyword_index on DBLP(nested.title) type keyword;
-write output to nc1:"rttest/inverted-index-basic_word-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-jaccard.adm";
for $o in dataset('DBLP')
where similarity-jaccard(word-tokens($o.nested.title), word-tokens("Transactions for Cooperative Environments")) >= 0.5f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
index 90e4909..6fbccc9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
@@ -44,7 +44,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
// Only the first edit-distance-check can be optimized with an index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
index ae2e026..bb2d7a0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
@@ -44,7 +44,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
// Only the second edit-distance-check can be optimized with an index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
index f908cfe..97c1e59 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let.aql
index e37eda1..a507b05 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-let.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let.adm";
for $o in dataset('DBLP')
let $ed := edit-distance-check($o.nested.authors, "Amihay Motro", 1)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-substring.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-substring.aql
index c4a8921..4dac57c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-substring.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-substring.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-substring.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-substring.adm";
for $paper in dataset('DBLP')
where edit-distance-check(substring($paper.nested.title, 0, 8), "datbase", 1)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
index a22c5a1..03cac36 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-word-tokens.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-word-tokens.adm";
for $paper in dataset('DBLP')
for $word in word-tokens($paper.nested.title)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-jaccard-check-let.aql
index e524c33..4067927 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-jaccard-check-let.aql
@@ -44,7 +44,7 @@
create index ngram_index on DBLP(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-jaccard-check-let.adm";
for $o in dataset('DBLP')
let $jacc := similarity-jaccard-check(gram-tokens($o.nested.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false), 0.5f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-jaccard-check-multi-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-jaccard-check-multi-let.aql
index fb04d4d..30f3ca4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-jaccard-check-multi-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ngram-jaccard-check-multi-let.aql
@@ -44,7 +44,7 @@
create index ngram_index on DBLP(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-complex_ngram-jaccard-check-multi-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-jaccard-check-multi-let.adm";
// This test is complex because we have three assigns to drill into.
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-edit-distance-check-let-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-edit-distance-check-let-panic.aql
index 0703eff..ea22e19 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-edit-distance-check-let-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-edit-distance-check-let-panic.aql
@@ -52,7 +52,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-complex_olist-edit-distance-check-let-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_olist-edit-distance-check-let-panic.adm";
for $c in dataset('Customers')
let $ed := edit-distance-check($c.nested.interests, ["computers", "wine", "walking"], 3)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-edit-distance-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-edit-distance-check-let.aql
index 9c210e0..e88a673 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-edit-distance-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-edit-distance-check-let.aql
@@ -54,7 +54,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-complex_olist-edit-distance-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_olist-edit-distance-check-let.adm";
for $c in dataset('Customers')
let $ed := edit-distance-check($c.nested.interests, ["computers", "wine", "walking"], 1)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-jaccard-check-let.aql
index d6acba1..bd7245f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/olist-jaccard-check-let.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-complex_olist-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_olist-jaccard-check-let.adm";
for $c in dataset('Customers')
let $jacc := similarity-jaccard-check($c.nested.interests, ["databases", "computers", "wine"], 0.7f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ulist-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ulist-jaccard-check-let.aql
index 3573510..c4093dc 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ulist-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/ulist-jaccard-check-let.aql
@@ -52,7 +52,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-complex_ulist-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ulist-jaccard-check-let.adm";
for $c in dataset('Customers')
let $jacc := similarity-jaccard-check($c.nested.interests, ["databases", "computers", "wine"], 0.7f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/word-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/word-jaccard-check-let.aql
index 7355bf4..4a416b8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/word-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/word-jaccard-check-let.aql
@@ -43,7 +43,7 @@
create index keyword_index on DBLP(nested.title) type keyword;
-write output to nc1:"rttest/inverted-index-complex_word-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_word-jaccard-check-let.adm";
for $o in dataset('DBLP')
let $jacc := similarity-jaccard-check(word-tokens($o.nested.title), word-tokens("Transactions for Cooperative Environments"), 0.5f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/word-jaccard-check-multi-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/word-jaccard-check-multi-let.aql
index c9c2ca07c..7183115 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/word-jaccard-check-multi-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-complex/word-jaccard-check-multi-let.aql
@@ -43,7 +43,7 @@
create index keyword_index on DBLP(nested.title) type keyword;
-write output to nc1:"rttest/inverted-index-complex_word-jaccard-check-multi-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_word-jaccard-check-multi-let.adm";
// This test is complex because we have three assigns to drill into.
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
index 9187f9a..4857735 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
@@ -56,7 +56,7 @@
create index msgNgramIx on TweetMessages(nested.message-text) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-edit-distance-check_idx_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-edit-distance-check_idx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.nested.tweetid > int64("240")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-jaccard-check-idx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-jaccard-check-idx_01.aql
index 3cffd055..50b2554 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-jaccard-check-idx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-jaccard-check-idx_01.aql
@@ -56,7 +56,7 @@
create index topicKeywordIx on TweetMessages(nested.referred-topics) type keyword;
-write output to nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-jaccard-check_idx_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-jaccard-check_idx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.nested.tweetid > int64("240")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-check_01.aql
index d7b3534..d17f352 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-check_01.aql
@@ -56,7 +56,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-contains.aql
index 0603469..a18fd38 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-contains.aql
@@ -56,7 +56,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-contains.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-inline.aql
index 6931c38..44a8430 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance-inline.aql
@@ -44,7 +44,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ngram-edit-distance-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ngram-edit-distance-inline.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance_01.aql
index 6f56a34..3a1bcbc 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-edit-distance_01.aql
@@ -56,7 +56,7 @@
create index ngram_index on DBLP(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
index 338a782..e188ff1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
@@ -56,7 +56,7 @@
create index ngram_index on CSX(nested.authors) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
index 75066ab..56e0094 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
@@ -57,7 +57,7 @@
create index ngram_index on CSX(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard-check_01.aql
index ff2228b..482e8c9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard-check_01.aql
@@ -57,7 +57,7 @@
create index ngram_index on CSX(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard-inline.aql
index 70abab7..7448a06 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard-inline.aql
@@ -45,7 +45,7 @@
create index ngram_index on DBLP(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ngram-jaccard-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ngram-jaccard-inline.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard_01.aql
index 350e6d7..a0f751d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ngram-jaccard_01.aql
@@ -57,7 +57,7 @@
create index ngram_index on CSX(nested.title) type ngram(3);
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance-check_01.aql
index 755a081..3a8a273 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance-check_01.aql
@@ -53,7 +53,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-edit-distance-check_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance-inline.aql
index aaf5361..542361b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance-inline.aql
@@ -55,7 +55,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_olist-edit-distance-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_olist-edit-distance-inline.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance_01.aql
index 1cef092..28214c9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-edit-distance_01.aql
@@ -52,7 +52,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-edit-distance_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-fuzzyeq-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-fuzzyeq-edit-distance_01.aql
index 9f5e161..f2d633e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-fuzzyeq-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-fuzzyeq-edit-distance_01.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-fuzzyeq-jaccard_01.aql
index 3b39ebd..d44dbbe 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-fuzzyeq-jaccard_01.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.7f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard-check_01.aql
index 950c986..2adaea5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard-check_01.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-jaccard-check_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard-inline.aql
index 8c44b1a..adbe0e5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard-inline.aql
@@ -53,7 +53,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_olist-jaccard-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_olist-jaccard-inline.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard_01.aql
index 00d46d9..825e3fa 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/olist-jaccard_01.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_olist-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_olist-jaccard_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-fuzzyeq-jaccard_01.aql
index 02ceae3..234fb6f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-fuzzyeq-jaccard_01.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.7f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard-check_01.aql
index cb6d814..1d483a1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard-check_01.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-jaccard-check_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard-inline.aql
index aaec648..5e3a563 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard-inline.aql
@@ -53,7 +53,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ulist-jaccard-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ulist-jaccard-inline.adm";
for $a in dataset('Customers')
for $b in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard_01.aql
index c15dcdb..bb95661 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/ulist-jaccard_01.aql
@@ -51,7 +51,7 @@
create index interests_index on Customers(nested.interests) type keyword;
-write output to nc1:"rttest/inverted-index-join_ulist-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ulist-jaccard_01.adm";
for $a in dataset('Customers')
for $b in dataset('Customers2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-fuzzyeq-jaccard_01.aql
index 03c988a..a66b7b3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-fuzzyeq-jaccard_01.aql
@@ -56,7 +56,7 @@
create index keyword_index on DBLP(nested.title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-check-after-btree-access.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-check-after-btree-access.aql
index 1ad604a..abda422 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-check-after-btree-access.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-check-after-btree-access.aql
@@ -60,7 +60,7 @@
create index msgCountBIx on TweetMessages(nested.countB) type btree;
create index msgTextIx on TweetMessages(nested.message-text) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check-after-btree-access.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check-after-btree-access.adm";
for $t1 in dataset('TweetMessages')
for $t2 in dataset('TweetMessages')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-check_01.aql
index e67cf6f..376ecec 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-check_01.aql
@@ -56,7 +56,7 @@
create index keyword_index on DBLP(nested.title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-inline.aql
index 1ed15fd..93bcc3e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard-inline.aql
@@ -44,7 +44,7 @@
create index keyword_index on DBLP(nested.title) type keyword;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_word-jaccard-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_word-jaccard-inline.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard_01.aql
index 4b079c9..e374a44 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/inverted-index-join/word-jaccard_01.aql
@@ -56,7 +56,7 @@
create index keyword_index on DBLP(nested.title) type keyword;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
index 6fbe913..96927f9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
@@ -59,7 +59,7 @@
create index msgCountBIx on TweetMessages(nested.countB) type btree;
create index msgTextIx on TweetMessages(nested.message-text) type keyword;
-write output to nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_01.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_01.adm";
for $t1 in dataset('TweetMessages')
let $n := create-circle($t1.nested.sender-location, 0.5)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
index be85c45..0899338 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
@@ -59,7 +59,7 @@
create index msgCountBIx on TweetMessages(nested.countB) type btree;
create index msgTextIx on TweetMessages(nested.message-text) type keyword;
-write output to nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_02.adm";
for $t1 in dataset('TweetMessages')
let $n := create-circle($t1.nested.sender-location, 0.5)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_01.aql
index f83d1c6..c2a8711 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_01.aql
@@ -47,7 +47,7 @@
create index rtree_index on MyData1(nested.point) type rtree;
-write output to nc1:"rttest/index-join_rtree-spatial-intersect-point.adm";
+write output to asterix_nc1:"rttest/index-join_rtree-spatial-intersect-point.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_02.aql
index aa5f8f7..76eb7c9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_02.aql
@@ -47,7 +47,7 @@
create index rtree_index on MyData2(point) type rtree;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_03.aql
index 36ca4cb..5d0b806 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-index/rtree-index-join/spatial-intersect-point_03.aql
@@ -45,7 +45,7 @@
create index rtree_index on MyData(nested.point) type rtree;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_03.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_03.adm";
for $a in dataset('MyData')
for $b in dataset('MyData')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_1.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_1.aql
index 42ddf64..4def993 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_1.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_1.aql
@@ -55,7 +55,7 @@
create index msgCountBIx on TweetMessages(nested.countB: int32) type btree enforced;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.nested.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_2.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_2.aql
index 7934787..cf3aad2 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_2.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_2.aql
@@ -55,7 +55,7 @@
create index msgCountAIx on TweetMessages(nested.countA: int32) type btree enforced;
create index msgCountBIx on TweetMessages(nested.countB: int32) type btree enforced;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.nested.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_1.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_1.aql
index d1d5a5d0..29092d7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_1.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_1.aql
@@ -55,7 +55,7 @@
create index msgCountBIx on TweetMessages(nested.countB: int32) type btree enforced;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
for $t1 in dataset('TweetMessages')
where $t1.nested.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_2.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_2.aql
index 191a8bf..dc9961b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_2.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_2.aql
@@ -55,7 +55,7 @@
create index msgCountAIx on TweetMessages(nested.countA: int32) type btree enforced;
create index msgCountBIx on TweetMessages(nested.countB: int32) type btree enforced;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
for $t1 in dataset('TweetMessages')
where $t1.nested.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_01.aql
index 0c9391d..ad3769c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_01.aql
@@ -38,7 +38,7 @@
create dataset Names(NameType) primary key nested.id;
create index Name_idx on Names(nested.fname: string,lnested.name: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_01.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_02.aql
index f6ab4f5..5d8db16 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_02.aql
@@ -38,7 +38,7 @@
create dataset Names(NameType) primary key nested.id;
create index Name_idx on Names(nested.fname: string,lnested.name: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_02.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_03.aql
index ad09b5a..f33a1d0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-join_03.aql
@@ -38,7 +38,7 @@
create dataset Names(NameType) primary key nested.id;
create index Name_idx on Names(nested.fname: string,lnested.name: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_03.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_03.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_01.aql
index 19820fd..e0db31b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_01.aql
@@ -38,7 +38,7 @@
create dataset Names(NameType) primary key nested.id;
create index Name_idx on Names(nested.fname: string,lnested.name: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_01.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_02.aql
index aec51c0..7fdd838 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_02.aql
@@ -38,7 +38,7 @@
create dataset Names(NameType) primary key nested.id;
create index Name_idx on Names(nested.fname: string,lnested.name: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_02.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_03.aql
index 06b9c21..e1dfd2c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_03.aql
@@ -38,7 +38,7 @@
create dataset Names(NameType) primary key nested.id;
create index Name_idx on Names(nested.fname: string,lnested.name: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_03.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_03.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_04.aql
index 65f458a..01ce4ce 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_04.aql
@@ -38,7 +38,7 @@
create dataset Names(NameType) primary key nested.id;
create index Name_idx on Names(nested.fname: string,lnested.name: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_04.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_04.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_05.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_05.aql
index 99b4b06..a1e2581 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_05.aql
@@ -38,7 +38,7 @@
create dataset Names(NameType) primary key nested.id;
create index Name_idx on Names(nested.fname: string,lnested.name: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_05.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_05.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_06.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_06.aql
index 61d9a09..4765190 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_06.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-composite-key-prefix-join_06.aql
@@ -38,7 +38,7 @@
create dataset Names(NameType) primary key nested.id;
create index Name_idx on Names(nested.fname: string,lnested.name: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_06.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_06.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join-multiindex.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join-multiindex.aql
index c99880b..bcaaf61 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join-multiindex.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join-multiindex.aql
@@ -71,7 +71,7 @@
create index fbmIdxAutId if not exists on FacebookMessages(nested.author-id-copy: int32) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join-multiindex.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join-multiindex.adm";
for $user in dataset('FacebookUsers')
for $message in dataset('FacebookMessages')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join-multipred.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join-multipred.aql
index 4c70586..378f6bb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join-multipred.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join-multipred.aql
@@ -58,7 +58,7 @@
create index title_index on DBLP(nested.title:string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join-multipred.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join-multipred.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_01.aql
index 601881d..518ea36 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_01.aql
@@ -56,7 +56,7 @@
create index title_index on DBLP(nested.title: string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_02.aql
index f5683a2..3706a38 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_02.aql
@@ -56,7 +56,7 @@
create index title_index on CSX(nested.title: string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_03.aql
index 6171c51..ebf2a45 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_03.aql
@@ -57,7 +57,7 @@
create index title_index_CSX on CSX(nested.title: string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_03.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_03.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_04.aql
index 06106d7..bccab0d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_04.aql
@@ -42,7 +42,7 @@
create index title_index on DBLP(nested.title: string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_04.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_04.adm";
for $a in dataset('DBLP')
for $a2 in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_05.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_05.aql
index e3b3a94..88dd85a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index-join/secondary-equi-join_05.aql
@@ -55,7 +55,7 @@
create index title_index on DBLP(nested.title: string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_05.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_05.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-33.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-33.aql
index 3b35798..e0d0c21 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-33.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-33.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-39.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-39.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-34.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-34.aql
index b12ebfa..4da27c0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-34.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-34.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-32.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-32.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-35.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-35.aql
index 9cad8c4..5733c4d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-35.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-35.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-33.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-33.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-36.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-36.aql
index c0e6f0b..75e3002 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-36.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-36.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-34.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-34.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-37.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-37.aql
index 976e0af..65e07c9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-37.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-37.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-35.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-35.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-38.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-38.aql
index 695d5a2..19b9cea 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-38.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-38.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-36.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-36.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-39.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-39.aql
index af394d7..bb57176 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-39.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-39.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-37.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-37.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-40.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-40.aql
index 9f61ccf..2371e31 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-40.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-40.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-38.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-38.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-41.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-41.aql
index 878adb2..3d2ac68 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-41.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-41.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-39.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-39.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-42.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-42.aql
index 6d53f66..be31e8f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-42.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-42.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-40.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-40.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-43.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-43.aql
index e1a993e..e1cdd77 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-43.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-43.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-41.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-41.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-44.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-44.aql
index 976bd57..c2abe05 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-44.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-44.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-42.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-42.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-45.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-45.aql
index 3094e8d..427e2ca 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-45.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-45.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-43.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-43.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-46.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-46.aql
index 1d61d79..a55c438 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-46.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-46.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-44.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-44.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-47.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-47.aql
index efc7d5d..a216edb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-47.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-47.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-45.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-45.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-48.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-48.aql
index c965265..1cdf5e6 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-48.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-48.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-46.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-46.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-49.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-49.aql
index 396a989..f92d499 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-49.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-49.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-47.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-47.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-50.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-50.aql
index a9805aa..c69aa20 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-50.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-50.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-48.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-48.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-51.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-51.aql
index 737311d..fa5fc2a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-51.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-51.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-49.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-49.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-52.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-52.aql
index d3a714e..d90feea 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-52.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-52.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-50.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-50.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-53.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-53.aql
index dd7f34d..94b9e8a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-53.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-53.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-51.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-51.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-54.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-54.aql
index 7fbdece..bc5bf26 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-54.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-54.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-52.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-52.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-55.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-55.aql
index 34873be..2d1631b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-55.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-55.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-53.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-53.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-56.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-56.aql
index 6aaeff3..66eea91 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-56.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-56.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-54.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-54.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-57.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-57.aql
index 29ead0d..706e382 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-57.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-57.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-55.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-55.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-58.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-58.aql
index 204e7dd..9963a02 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-58.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-58.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-56.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-56.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-59.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-59.aql
index 0052bcd..d30562d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-59.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-59.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-57.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-57.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-60.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-60.aql
index 84d126f..842bb8a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-60.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-60.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-58.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-58.adm";
create type TestTypetmp as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-61.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-61.aql
index eb1800a..81035ef 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-61.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-61.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-59.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-59.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-62.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-62.aql
index 682f797..e65d5e1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-62.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-62.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-62.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-62.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-63.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-63.aql
index 97e3881..a29c26d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-63.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/btree-index/btree-secondary-63.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-63.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-63.adm";
create type TestTypetmp as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-contains-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-contains-panic.aql
index 00bb0d0..b6cb204 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-contains-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-contains-panic.aql
@@ -41,7 +41,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-contains-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-contains-panic.adm";
// Cannot optimize this query because the string constant is shorter than the gram length.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-contains.aql
index c543231..50ccf7d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-contains.aql
@@ -41,7 +41,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-contains.adm";
for $o in dataset('DBLP')
where contains($o.nested.title, "Multimedia")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-check-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-check-panic.aql
index 3e4a3e5..88c4f54 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-check-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-check-panic.aql
@@ -41,7 +41,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-check-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-check-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-check.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-check.aql
index ef1f37d..8038d49 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-check.aql
@@ -41,7 +41,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-check.adm";
for $o in dataset('DBLP')
where edit-distance-check($o.nested.authors, "Amihay Motro", 1)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-panic.aql
index fce9d48..5d1f6d0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance-panic.aql
@@ -41,7 +41,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance.aql
index 0d32081..e70bcaf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-edit-distance.aql
@@ -41,7 +41,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance.adm";
for $o in dataset('DBLP')
where edit-distance($o.nested.authors, "Amihay Motro") <= 1
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
index c7a4dc8..a21cfd9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
@@ -41,7 +41,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-edit-distance.adm";
set simfunction 'edit-distance';
set simthreshold '1';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
index e43b577..f91ef84 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.8f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-jaccard-check.aql
index 3e6cd1a..4df7adb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-jaccard-check.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-jaccard-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-jaccard-check.adm";
for $o in dataset('DBLP')
where similarity-jaccard-check(gram-tokens($o.nested.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false), 0.5f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-jaccard.aql
index 84c65ba..2bb5114 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/ngram-jaccard.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-jaccard.adm";
for $o in dataset('DBLP')
where similarity-jaccard(gram-tokens($o.nested.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false)) >= 0.5f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-contains.aql
index 81d029f..81ce645 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-contains.aql
@@ -41,7 +41,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-basic_word-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-contains.adm";
// Contains cannot be answered with a word inverted index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-fuzzyeq-jaccard.aql
index d8e87db..927926d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-fuzzyeq-jaccard.aql
@@ -41,7 +41,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-basic_word-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-jaccard-check.aql
index 54247f9..32b4f11 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-jaccard-check.aql
@@ -41,7 +41,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-basic_word-jaccard-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-jaccard-check.adm";
for $o in dataset('DBLP')
where similarity-jaccard-check(word-tokens($o.nested.title), word-tokens("Transactions for Cooperative Environments"), 0.5f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-jaccard.aql
index 5d873f1..1445e51 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-basic/word-jaccard.aql
@@ -41,7 +41,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-basic_word-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-jaccard.adm";
for $o in dataset('DBLP')
where similarity-jaccard(word-tokens($o.nested.title), word-tokens("Transactions for Cooperative Environments")) >= 0.5f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
index 49bebc4..27ed5e0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
// Only the first edit-distance-check can be optimized with an index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
index c5207fa..71008d8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
// Only the second edit-distance-check can be optimized with an index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
index c92f4bf..74a7443 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let.aql
index 09d9da3..2168991 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-let.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let.adm";
for $o in dataset('DBLP')
let $ed := edit-distance-check($o.nested.authors, "Amihay Motro", 1)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-substring.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-substring.aql
index c9260c8..e97d651 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-substring.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-substring.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-substring.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-substring.adm";
for $paper in dataset('DBLP')
where edit-distance-check(substring($paper.nested.title, 0, 8), "datbase", 1)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
index 7ee137b..7f9767f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-word-tokens.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-word-tokens.adm";
for $paper in dataset('DBLP')
for $word in word-tokens($paper.nested.title)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-jaccard-check-let.aql
index 6dc6a25..4a6692c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-jaccard-check-let.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-jaccard-check-let.adm";
for $o in dataset('DBLP')
let $jacc := similarity-jaccard-check(gram-tokens($o.nested.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false), 0.5f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-jaccard-check-multi-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-jaccard-check-multi-let.aql
index 35a3ebc..8a67454 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-jaccard-check-multi-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/ngram-jaccard-check-multi-let.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-jaccard-check-multi-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-jaccard-check-multi-let.adm";
// This test is complex because we have three assigns to drill into.
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/word-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/word-jaccard-check-let.aql
index 3806f82..5c21b49 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/word-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/word-jaccard-check-let.aql
@@ -42,7 +42,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-complex_word-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_word-jaccard-check-let.adm";
for $o in dataset('DBLP')
let $jacc := similarity-jaccard-check(word-tokens($o.nested.title), word-tokens("Transactions for Cooperative Environments"), 0.5f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/word-jaccard-check-multi-let.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/word-jaccard-check-multi-let.aql
index d38a79a..28027e8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/word-jaccard-check-multi-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-complex/word-jaccard-check-multi-let.aql
@@ -42,7 +42,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-complex_word-jaccard-check-multi-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_word-jaccard-check-multi-let.adm";
// This test is complex because we have three assigns to drill into.
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
index e99479b..5da0f36 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
@@ -55,7 +55,7 @@
create index msgNgramIx on TweetMessages(nested.message-text: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-edit-distance-check_idx_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-edit-distance-check_idx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.nested.tweetid > int64("240")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_01.aql
index 6afc4b3..7d63fd1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_01.aql
@@ -46,7 +46,7 @@
create index ngram_index on DBLP(title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-contains-01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-contains-01.adm";
for $o1 in dataset('DBLP')
for $o2 in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_02.aql
index 1779e26..fc3e555 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_02.aql
@@ -46,7 +46,7 @@
create index ngram_index on CSX(title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-contains-02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-contains-02.adm";
for $o1 in dataset('CSX')
for $o2 in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_03.aql
index 7d35308..c4f255b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_03.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-contains-03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-contains-03.adm";
for $o1 in dataset('DBLP')
for $o2 in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_04.aql
index 7312624..cb552fd 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-contains_04.aql
@@ -47,7 +47,7 @@
create index ngram_index_CSX on CSX(title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-contains-04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-contains-04.adm";
for $o1 in dataset('DBLP')
for $o2 in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_01.aql
index 293c253..06ab807 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_01.aql
@@ -55,7 +55,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_02.aql
index 532fa14..8147e81 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_02.aql
@@ -55,7 +55,7 @@
create index ngram_index on CSX(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
for $a in dataset('CSX')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_03.aql
index 61f8594..935a609 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_03.aql
@@ -41,7 +41,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_04.aql
index ac87b0b..18b4bde 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_04.aql
@@ -56,7 +56,7 @@
create index ngram_index_CSX on CSX(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_05.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_05.aql
index f018091..74ba6ff 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-check_05.aql
@@ -54,7 +54,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-contains.aql
index 09c54c9..6319464 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-contains.aql
@@ -55,7 +55,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-contains.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-inline.aql
index 3405f4e..acefe72 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance-inline.aql
@@ -43,7 +43,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ngram-edit-distance-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ngram-edit-distance-inline.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_01.aql
index 12a85e2..7d53c14 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_01.aql
@@ -55,7 +55,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_02.aql
index dfe3659..9d5317a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_02.aql
@@ -55,7 +55,7 @@
create index ngram_index on CSX(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
for $a in dataset('CSX')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_03.aql
index 413d939..b03b019 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_03.aql
@@ -41,7 +41,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_04.aql
index 29ab78a..c0aabd5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_04.aql
@@ -56,7 +56,7 @@
create index ngram_index_CSX on CSX(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_05.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_05.aql
index 1ffb639..e658e24 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-edit-distance_05.aql
@@ -54,7 +54,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
index d0734d3..30231fb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
@@ -55,7 +55,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql
index 75ee7aa..38302e9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql
@@ -55,7 +55,7 @@
create index ngram_index on CSX(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql
index efc9455..424d186 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql
@@ -41,7 +41,7 @@
create index ngram_index on DBLP(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_04.aql
index ea6cab3..5ec9368 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_04.aql
@@ -56,7 +56,7 @@
create index ngram_index_CSX on CSX(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_05.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_05.aql
index fcd52e1..dcdac82 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-edit-distance_05.aql
@@ -54,7 +54,7 @@
create index ngram_index on CSX(nested.authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
index 74018c5..2756836 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
@@ -56,7 +56,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql
index db84dfc..a930fad 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql
@@ -56,7 +56,7 @@
create index ngram_index on CSX(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql
index a28ba6b..2a3eb8f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_04.aql
index ef45a67..757dcd3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-fuzzyeq-jaccard_04.aql
@@ -57,7 +57,7 @@
create index ngram_index_CSX on CSX(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_01.aql
index 9cc1b67..263c5fb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_01.aql
@@ -56,7 +56,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_02.aql
index c55736a..4fa503d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_02.aql
@@ -56,7 +56,7 @@
create index ngram_index on CSX(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
for $a in dataset('CSX')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_03.aql
index 3b37077..498d925 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_03.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_04.aql
index 01efbc7..224a7d5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-check_04.aql
@@ -57,7 +57,7 @@
create index ngram_index_CSX on CSX(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-inline.aql
index 14c549e..92346dc 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard-inline.aql
@@ -44,7 +44,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_ngram-jaccard-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_ngram-jaccard-inline.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_01.aql
index 0de250c..dd83e2e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_01.aql
@@ -56,7 +56,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_02.aql
index 40c88c2..1d77aa7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_02.aql
@@ -56,7 +56,7 @@
create index ngram_index on CSX(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
for $a in dataset('CSX')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_03.aql
index c23e10a..bfc9b3b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_03.aql
@@ -42,7 +42,7 @@
create index ngram_index on DBLP(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_04.aql
index 795d747..2b67ebf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/ngram-jaccard_04.aql
@@ -57,7 +57,7 @@
create index ngram_index_CSX on CSX(nested.title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_01.aql
index 1a0e2db..a52deb4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_01.aql
@@ -55,7 +55,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_02.aql
index cbe3963..7d07d45 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_02.aql
@@ -55,7 +55,7 @@
create index keyword_index on CSX(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_03.aql
index b4e9cb7..eb4c84c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_03.aql
@@ -40,7 +40,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_04.aql
index 50816f9..adbca83 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-fuzzyeq-jaccard_04.aql
@@ -56,7 +56,7 @@
create index keyword_index_CSX on CSX(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check-after-btree-access.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check-after-btree-access.aql
index ec27fda..a05cae5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check-after-btree-access.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check-after-btree-access.aql
@@ -59,7 +59,7 @@
create index msgCountBIx on TweetMessages(nested.countB) type btree;
create index msgTextIx on TweetMessages(nested.message-text: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check-after-btree-access.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check-after-btree-access.adm";
for $t1 in dataset('TweetMessages')
for $t2 in dataset('TweetMessages')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_01.aql
index 81ba69f..ab039ed 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_01.aql
@@ -55,7 +55,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_02.aql
index 9fd64ce..401716e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_02.aql
@@ -55,7 +55,7 @@
create index keyword_index on CSX(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
for $a in dataset('CSX')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_03.aql
index c9c78da..54f6065 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_03.aql
@@ -41,7 +41,7 @@
create index keyword_index_DBLP on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_04.aql
index e3cd26b..24ed006 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-check_04.aql
@@ -56,7 +56,7 @@
create index keyword_index on CSX(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-inline.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-inline.aql
index 751e641..7219d51 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-inline.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard-inline.aql
@@ -43,7 +43,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join-noeqjoin_word-jaccard-inline.adm";
+write output to asterix_nc1:"rttest/inverted-index-join-noeqjoin_word-jaccard-inline.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_01.aql
index d14af84..063520a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_01.aql
@@ -55,7 +55,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_02.aql
index 10a78c1..4230533 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_02.aql
@@ -55,7 +55,7 @@
create index keyword_index on CSX(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
for $a in dataset('CSX')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_03.aql
index a02c8c9..045e3b4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_03.aql
@@ -41,7 +41,7 @@
create index keyword_index on DBLP(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_04.aql
index 422c24e..63ad895 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/inverted-index-join/word-jaccard_04.aql
@@ -56,7 +56,7 @@
create index keyword_index on CSX(nested.title: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
index 2593351..364d886 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
@@ -58,7 +58,7 @@
create index msgCountBIx on TweetMessages(nested.countB) type btree;
create index msgTextIx on TweetMessages(nested.message-text) type keyword;
-write output to nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_01.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_01.adm";
for $t1 in dataset('TweetMessages')
let $n := create-circle($t1.nested.sender-location, 0.5)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
index eaabaca..3f062d9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
@@ -58,7 +58,7 @@
create index msgCountBIx on TweetMessages(nested.countB) type btree;
create index msgTextIx on TweetMessages(nested.message-text) type keyword;
-write output to nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_02.adm";
for $t1 in dataset('TweetMessages')
let $n := create-circle($t1.nested.sender-location, 0.5)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_01.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_01.aql
index f83d1c6..c2a8711 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_01.aql
@@ -47,7 +47,7 @@
create index rtree_index on MyData1(nested.point) type rtree;
-write output to nc1:"rttest/index-join_rtree-spatial-intersect-point.adm";
+write output to asterix_nc1:"rttest/index-join_rtree-spatial-intersect-point.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_02.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_02.aql
index aa5f8f7..76eb7c9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_02.aql
@@ -47,7 +47,7 @@
create index rtree_index on MyData2(point) type rtree;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_03.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_03.aql
index 36ca4cb..5d0b806 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_03.aql
@@ -45,7 +45,7 @@
create index rtree_index on MyData(nested.point) type rtree;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_03.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_03.adm";
for $a in dataset('MyData')
for $b in dataset('MyData')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_04.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_04.aql
index 12e3613..8010f89 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_04.aql
@@ -48,7 +48,7 @@
create index rtree_index2 on MyData2(nested.point:point) type rtree enforced;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_05.aql b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_05.aql
index 4248bab..0a99784 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested-open-index/rtree-index-join/spatial-intersect-point_05.aql
@@ -46,7 +46,7 @@
create index rtree_index on MyData1(nested.point:point) type rtree enforced;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested_loj2.aql b/asterix-app/src/test/resources/optimizerts/queries/nested_loj2.aql
index e5f5c23..43c2722 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested_loj2.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested_loj2.aql
@@ -62,7 +62,7 @@
c_comment: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset LineItems(LineItemType)
primary key l_orderkey, l_linenumber on group1;
@@ -71,7 +71,7 @@
create dataset Customers(CustomerType)
primary key c_custkey on group1;
-write output to nc1:"/tmp/nested_loj.adm";
+write output to asterix_nc1:"/tmp/nested_loj.adm";
for $c in dataset('Customers')
let $orders :=
diff --git a/asterix-app/src/test/resources/optimizerts/queries/nested_loj3.aql b/asterix-app/src/test/resources/optimizerts/queries/nested_loj3.aql
index f39f89c..b9494a0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/nested_loj3.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/nested_loj3.aql
@@ -72,7 +72,7 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset LineItems(LineItemType)
primary key l_orderkey, l_linenumber on group1;
@@ -83,7 +83,7 @@
create dataset PartSupp(PartSuppType)
primary key ps_partkey, ps_suppkey on group1;
-write output to nc1:"/tmp/nested_loj.adm";
+write output to asterix_nc1:"/tmp/nested_loj.adm";
for $c in dataset('Customers')
let $orders :=
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_1.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_1.aql
index b42e17f..70b2c80 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_1.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_1.aql
@@ -51,7 +51,7 @@
create index msgCountBIx on TweetMessages(countB: int32) type btree enforced;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_2.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_2.aql
index 0fcb05e..51459e3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_2.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_01_2.aql
@@ -51,7 +51,7 @@
create index msgCountAIx on TweetMessages(countA: int32) type btree enforced;
create index msgCountBIx on TweetMessages(countB: int32) type btree enforced;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_1.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_1.aql
index 28b9f67..6c05bb8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_1.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_1.aql
@@ -51,7 +51,7 @@
create index msgCountBIx on TweetMessages(countB: int32) type btree enforced;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
for $t1 in dataset('TweetMessages')
where $t1.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_2.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_2.aql
index 8e6ede4..dd5d7a8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_2.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/leftouterjoin-probe-pidx-with-join-btree-sidx_02_2.aql
@@ -51,7 +51,7 @@
create index msgCountAIx on TweetMessages(countA: int32) type btree enforced;
create index msgCountBIx on TweetMessages(countB: int32) type btree enforced;
-write output to nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_leftouterjoin-probe-pidx-with-join-btree-sidx_02.adm";
for $t1 in dataset('TweetMessages')
where $t1.tweetid < int64("10")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_01.aql
index 34d3533..876d8b1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_01.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key id;
create index Name_idx on Names(fname: string,lname: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_01.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_02.aql
index 5a43b48..b2f2143 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_02.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key id;
create index Name_idx on Names(fname: string,lname: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_02.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_03.aql
index 8c19802..910876f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-join_03.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key id;
create index Name_idx on Names(fname: string,lname: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_03.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-join_03.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_01.aql
index c1cefff..65edf35 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_01.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key id;
create index Name_idx on Names(fname: string,lname: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_01.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_02.aql
index b5ff732..5074030 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_02.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key id;
create index Name_idx on Names(fname: string,lname: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_02.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_03.aql
index 4b0c64f..bfddc84 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_03.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key id;
create index Name_idx on Names(fname: string,lname: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_03.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_03.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_04.aql
index 052e95d..2105196 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_04.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key id;
create index Name_idx on Names(fname: string,lname: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_04.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_04.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_05.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_05.aql
index c1844b2..f53e6c6 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_05.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key id;
create index Name_idx on Names(fname: string,lname: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_05.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_05.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_06.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_06.aql
index 7f2ff49..2719363 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_06.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-composite-key-prefix-join_06.aql
@@ -34,7 +34,7 @@
create dataset Names(Name) primary key id;
create index Name_idx on Names(fname: string,lname: string) enforced;
-write output to nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_06.adm";
+write output to asterix_nc1:"rttest/btree-index-join_secondary-composite-key-prefix-prefix-join_06.adm";
for $emp1 in dataset('Names')
for $emp2 in dataset('Names')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join-multiindex.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join-multiindex.aql
index 053128f..3a0e289 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join-multiindex.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join-multiindex.aql
@@ -63,7 +63,7 @@
create index fbmIdxAutId if not exists on FacebookMessages(author-id-copy:int32) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join-multiindex.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join-multiindex.adm";
for $user in dataset('FacebookUsers')
for $message in dataset('FacebookMessages')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join-multipred.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join-multipred.aql
index a9e207e..e16bf87 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join-multipred.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join-multipred.aql
@@ -50,7 +50,7 @@
create index title_index on DBLP(title:string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join-multipred.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join-multipred.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_01.aql
index 3eafffd..cd801cf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_01.aql
@@ -48,7 +48,7 @@
create index title_index on DBLP(title:string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_01.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_02.aql
index c92790f..d24522d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_02.aql
@@ -48,7 +48,7 @@
create index title_index on CSX(title:string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_03.aql
index 640ecac..e39a320 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_03.aql
@@ -38,7 +38,7 @@
create index title_index on DBLP(title:string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_03.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_04.aql
index 28fbfe1..5a988ff 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_04.aql
@@ -49,7 +49,7 @@
create index title_index on CSX(title:string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_05.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_05.aql
index 9e6ad3b..714bbf8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index-join/secondary-equi-join_05.aql
@@ -48,7 +48,7 @@
create index title_index on DBLP(title:string) enforced;
-write output to nc1:"rttest/btree-index-join_title-secondary-equi-join_02.adm";
+write output to asterix_nc1:"rttest/btree-index-join_title-secondary-equi-join_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-33.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-33.aql
index c456625..b4d7e8b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-33.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-33.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-31.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-31.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-34.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-34.aql
index f6b5898..8fc5bf3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-34.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-34.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-32.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-32.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-35.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-35.aql
index e6494c0..4db04c4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-35.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-35.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-33.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-33.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-36.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-36.aql
index fd2149d..072e8df 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-36.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-36.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-34.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-34.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-37.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-37.aql
index cb06850..03f90e3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-37.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-37.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-35.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-35.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-38.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-38.aql
index 855ce1f..f73425d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-38.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-38.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-36.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-36.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-39.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-39.aql
index 4c72e5a..63a69af 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-39.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-39.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-37.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-37.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-40.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-40.aql
index 5627e4b..4de4012 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-40.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-40.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-38.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-38.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-41.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-41.aql
index e6617e0..262b729 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-41.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-41.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-39.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-39.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-42.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-42.aql
index f9415eb..8a10529 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-42.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-42.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-40.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-40.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-43.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-43.aql
index 338baa9..e136d17 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-43.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-43.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-41.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-41.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-44.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-44.aql
index e1c5a88..499daf1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-44.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-44.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-42.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-42.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-45.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-45.aql
index bce31d8..0cd5b62 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-45.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-45.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-43.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-43.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-46.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-46.aql
index 4c78877..75247b7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-46.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-46.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-44.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-44.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-47.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-47.aql
index b490deb..6dbbb33 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-47.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-47.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-45.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-45.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-48.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-48.aql
index d60986e..785f605 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-48.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-48.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-46.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-46.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-49.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-49.aql
index b72f792..d695b53 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-49.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-49.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-47.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-47.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-50.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-50.aql
index a4975b1..ce20a9d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-50.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-50.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-48.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-48.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-51.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-51.aql
index d2dce5c..a48a641 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-51.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-51.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-49.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-49.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-52.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-52.aql
index a385a30..f07897d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-52.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-52.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-50.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-50.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-53.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-53.aql
index 31d695b..57144e9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-53.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-53.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-51.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-51.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-54.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-54.aql
index 7b8cb04..8ee16ee 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-54.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-54.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-52.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-52.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-55.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-55.aql
index 3deebbe..d948560 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-55.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-55.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-53.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-53.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-56.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-56.aql
index 28ccfee..25e5506 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-56.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-56.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-54.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-54.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-57.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-57.aql
index b0a27da..d0d3e27 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-57.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-57.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-55.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-55.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-58.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-58.aql
index 131630c..9d80143 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-58.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-58.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-56.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-56.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-59.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-59.aql
index 6459b98..9ef324f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-59.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-59.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-57.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-57.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-60.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-60.aql
index 1d97f07..ab1ba1f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-60.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-60.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-58.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-58.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-61.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-61.aql
index 48a756d..42df854 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-61.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-61.aql
@@ -28,7 +28,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-49.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-49.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-62.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-62.aql
index 4a49dcf..76c912f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-62.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-62.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-62.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-62.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-63.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-63.aql
index 98f1126..e42b5f3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-63.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/btree-index/btree-secondary-63.aql
@@ -30,7 +30,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-63.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-63.adm";
create type TestType as open {
id : int32
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-contains-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-contains-panic.aql
index 199137c..fea5075 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-contains-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-contains-panic.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-contains-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-contains-panic.adm";
// Cannot optimize this query because the string constant is shorter than the gram length.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-contains.aql
index b0a1e9f..7b8e32b8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-contains.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-contains.adm";
for $o in dataset('DBLP')
where contains($o.title, "Multimedia")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-check-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-check-panic.aql
index f973d1d..4b7c8ee 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-check-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-check-panic.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-check-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-check-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-check.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-check.aql
index a7d7ac9..bbdda47 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-check.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-check.adm";
for $o in dataset('DBLP')
where edit-distance-check($o.authors, "Amihay Motro", 1)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-panic.aql
index 06a6fe3..ae6d915 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance-panic.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance.aql
index 3bb7eea..88a01d3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-edit-distance.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-edit-distance.adm";
for $o in dataset('DBLP')
where edit-distance($o.authors, "Amihay Motro") <= 1
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
index 34a53c5..d8782b3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-fuzzyeq-edit-distance.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-edit-distance.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-edit-distance.adm";
set simfunction 'edit-distance';
set simthreshold '1';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
index 87a73b8..e887d65 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-fuzzyeq-jaccard.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.8f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-jaccard-check.aql
index e8ec16d..8799838 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-jaccard-check.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-jaccard-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-jaccard-check.adm";
for $o in dataset('DBLP')
where similarity-jaccard-check(gram-tokens($o.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false), 0.5f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-jaccard.aql
index 6e96eda..30c203e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/ngram-jaccard.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-basic_ngram-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-jaccard.adm";
for $o in dataset('DBLP')
where similarity-jaccard(gram-tokens($o.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false)) >= 0.5f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-contains.aql
index 5823e31..1d96f5a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-contains.aql
@@ -37,7 +37,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-basic_word-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-contains.adm";
// Contains cannot be answered with a word inverted index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-fuzzyeq-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-fuzzyeq-jaccard.aql
index f20c8e5..c38e20c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-fuzzyeq-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-fuzzyeq-jaccard.aql
@@ -37,7 +37,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-basic_word-fuzzyeq-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-fuzzyeq-jaccard.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-jaccard-check.aql
index 4dd687c..ea738f0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-jaccard-check.aql
@@ -37,7 +37,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-basic_word-jaccard-check.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-jaccard-check.adm";
for $o in dataset('DBLP')
where similarity-jaccard-check(word-tokens($o.title), word-tokens("Transactions for Cooperative Environments"), 0.5f)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-jaccard.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-jaccard.aql
index b957739..7a4db03 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-jaccard.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-basic/word-jaccard.aql
@@ -37,7 +37,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-basic_word-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-jaccard.adm";
for $o in dataset('DBLP')
where similarity-jaccard(word-tokens($o.title), word-tokens("Transactions for Cooperative Environments")) >= 0.5f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
index 2ffb086..2ff5661 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_01.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
// Only the first edit-distance-check can be optimized with an index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
index 94cffe4..c9eaac6 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic-nopanic_02.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic-nopanic_01.adm";
// Only the second edit-distance-check can be optimized with an index.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
index 9e269a5..39aa28d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let-panic.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let-panic.adm";
// This query cannot be optimized with an index, based on the high edit distance.
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let.aql
index 6be2880..fca9938 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-let.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-let.adm";
for $o in dataset('DBLP')
let $ed := edit-distance-check($o.authors, "Amihay Motro", 1)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-substring.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-substring.aql
index 534d1b4..23f5e52 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-substring.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-substring.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-substring.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-substring.adm";
for $paper in dataset('DBLP')
where edit-distance-check(substring($paper.title, 0, 8), "datbase", 1)[0]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
index d307eeb..8969d05 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-edit-distance-check-word-tokens.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-word-tokens.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-edit-distance-check-word-tokens.adm";
for $paper in dataset('DBLP')
for $word in word-tokens($paper.title)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-jaccard-check-let.aql
index 52a4060..ed1bd7d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-jaccard-check-let.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-jaccard-check-let.adm";
for $o in dataset('DBLP')
let $jacc := similarity-jaccard-check(gram-tokens($o.title, 3, false), gram-tokens("Transactions for Cooperative Environments", 3, false), 0.5f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-jaccard-check-multi-let.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-jaccard-check-multi-let.aql
index 61a9551..2ee9192 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-jaccard-check-multi-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/ngram-jaccard-check-multi-let.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-complex_ngram-jaccard-check-multi-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_ngram-jaccard-check-multi-let.adm";
// This test is complex because we have three assigns to drill into.
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/word-jaccard-check-let.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/word-jaccard-check-let.aql
index 01874fe..fad2cf9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/word-jaccard-check-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/word-jaccard-check-let.aql
@@ -38,7 +38,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-complex_word-jaccard-check-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_word-jaccard-check-let.adm";
for $o in dataset('DBLP')
let $jacc := similarity-jaccard-check(word-tokens($o.title), word-tokens("Transactions for Cooperative Environments"), 0.5f)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/word-jaccard-check-multi-let.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/word-jaccard-check-multi-let.aql
index 8e44581..b1e7dac 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/word-jaccard-check-multi-let.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-complex/word-jaccard-check-multi-let.aql
@@ -38,7 +38,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-complex_word-jaccard-check-multi-let.adm";
+write output to asterix_nc1:"rttest/inverted-index-complex_word-jaccard-check-multi-let.adm";
// This test is complex because we have three assigns to drill into.
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
index e97880b..1327a16 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/leftouterjoin-probe-pidx-with-join-edit-distance-check-idx_01.aql
@@ -51,7 +51,7 @@
create index msgNgramIx on TweetMessages(message-text: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-edit-distance-check_idx_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_leftouterjoin-probe-pidx-with-join-edit-distance-check_idx_01.adm";
for $t1 in dataset('TweetMessages')
where $t1.tweetid > int64("240")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_01.aql
index 6afc4b3..7d63fd1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_01.aql
@@ -46,7 +46,7 @@
create index ngram_index on DBLP(title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-contains-01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-contains-01.adm";
for $o1 in dataset('DBLP')
for $o2 in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_02.aql
index 5806d1a..a6e66ec 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_02.aql
@@ -46,7 +46,7 @@
create index ngram_index on CSX(title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-contains-02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-contains-02.adm";
for $o1 in dataset('DBLP')
for $o2 in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_03.aql
index 7d35308..c4f255b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_03.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-contains-03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-contains-03.adm";
for $o1 in dataset('DBLP')
for $o2 in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_04.aql
index 7312624..cb552fd 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-contains_04.aql
@@ -47,7 +47,7 @@
create index ngram_index_CSX on CSX(title: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-contains-04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-contains-04.adm";
for $o1 in dataset('DBLP')
for $o2 in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_01.aql
index 720325f..533e697 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_01.aql
@@ -47,7 +47,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_02.aql
index 3dfd707..32a53c1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_02.aql
@@ -47,7 +47,7 @@
create index ngram_index on CSX(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_03.aql
index 97c0aff..82ef357 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_03.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_04.aql
index 9f4f371..ab03701 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_04.aql
@@ -48,7 +48,7 @@
create index ngram_index_CSX on CSX(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_05.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_05.aql
index 290b4ef..e8acecb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_05.aql
@@ -47,7 +47,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_inline_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_inline_03.aql
index bb80ad6..3c50388 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_inline_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-check_inline_03.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-check_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_04.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-contains.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-contains.aql
index 53c5496..05f90a2 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-contains.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance-contains.aql
@@ -47,7 +47,7 @@
create index ngram_index on DBLP(authors: string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-contains.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_01.aql
index 507fa02..104c7a3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_01.aql
@@ -47,7 +47,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_02.aql
index d055af9..dd32f49 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_02.aql
@@ -47,7 +47,7 @@
create index ngram_index on CSX(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_03.aql
index a6573d8..d58b13d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_03.aql
@@ -37,7 +37,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_04.aql
index 3370693..3fb4dc4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_04.aql
@@ -48,7 +48,7 @@
create index ngram_index_CSX on CSX(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_05.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_05.aql
index 870c445..4d93fe2 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_05.aql
@@ -47,7 +47,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_inline_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_inline_03.aql
index f85810a..d23a2fd 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_inline_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-edit-distance_inline_03.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-edit-distance_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
index 7fcc854..83976fd 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_01.aql
@@ -47,7 +47,7 @@
create index ngram_index on CSX(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql
index 7c287db..b29f8c9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_02.aql
@@ -47,7 +47,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql
index 9b28b1e..e9cb241 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_03.aql
@@ -36,7 +36,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_03.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_04.aql
index 2e62ee2..0a37012 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_04.aql
@@ -48,7 +48,7 @@
create index ngram_index_CSX on CSX(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_05.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_05.aql
index 9c61489..87ed0a3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-edit-distance_05.aql
@@ -47,7 +47,7 @@
create index ngram_index on DBLP(authors:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-edit-distance_01.adm";
set simfunction 'edit-distance';
set simthreshold '3';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
index 6f2c66d..fe68a2a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_01.aql
@@ -48,7 +48,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql
index 1d7895e..6ed468c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_02.aql
@@ -48,7 +48,7 @@
create index ngram_index on CSX(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_02.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql
index 47bab92..c1dd084 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_03.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_03.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_04.aql
index 2a08302..9c1572c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-fuzzyeq-jaccard_04.aql
@@ -49,7 +49,7 @@
create index ngram_index_CSX on CSX(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_01.aql
index a00c046..d5e033a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_01.aql
@@ -48,7 +48,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_02.aql
index 9bb9361..bb74356 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_02.aql
@@ -48,7 +48,7 @@
create index ngram_index on CSX(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_03.aql
index d3cdeb4..c431b6f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_03.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_04.aql
index b44e50a..46314fa 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_04.aql
@@ -49,7 +49,7 @@
create index ngram_index_CSX on CSX(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_inline_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_inline_03.aql
index 0962fbd..9dc2650 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_inline_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard-check_inline_03.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard-check_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard-check_04.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_01.aql
index 8e7a928..5877397 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_01.aql
@@ -48,7 +48,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_02.aql
index c095260..3d8c8f5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_02.aql
@@ -48,7 +48,7 @@
create index ngram_index on CSX(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_03.aql
index 8be03f2..278e391 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_03.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_04.aql
index 0b2c5b4..0becd07 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_04.aql
@@ -49,7 +49,7 @@
create index ngram_index_CSX on CSX(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_inline_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_inline_03.aql
index 68c555b..db2a334 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_inline_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/ngram-jaccard_inline_03.aql
@@ -39,7 +39,7 @@
create index ngram_index on DBLP(title:string) type ngram(3) enforced;
-write output to nc1:"rttest/inverted-index-join_ngram-jaccard_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_ngram-jaccard_04.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_01.aql
index 211f2b7..2f46d9c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_01.aql
@@ -47,7 +47,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_02.aql
index 1a3234a..c06d903 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_02.aql
@@ -47,7 +47,7 @@
create index keyword_index on CSX(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_02.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_03.aql
index eeaa697..416701b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_03.aql
@@ -37,7 +37,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_03.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_04.aql
index f81a7c7..d931490 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-fuzzyeq-jaccard_04.aql
@@ -48,7 +48,7 @@
create index keyword_index_CSX on CSX(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-fuzzyeq-jaccard_01.adm";
set simfunction 'jaccard';
set simthreshold '0.5f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check-after-btree-access.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check-after-btree-access.aql
index 9d6c592..98fc92e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check-after-btree-access.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check-after-btree-access.aql
@@ -55,7 +55,7 @@
create index msgCountBIx on TweetMessages(countB) type btree;
create index msgTextIx on TweetMessages(message-text: string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check-after-btree-access.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check-after-btree-access.adm";
for $t1 in dataset('TweetMessages')
for $t2 in dataset('TweetMessages')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_01.aql
index 82088df..8857de5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_01.aql
@@ -47,7 +47,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_02.aql
index 20427af..db99e57 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_02.aql
@@ -47,7 +47,7 @@
create index keyword_index on CSX(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_03.aql
index 91c8028..1a260e3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_03.aql
@@ -37,7 +37,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_04.aql
index 0be4f91..89bca10 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_04.aql
@@ -48,7 +48,7 @@
create index keyword_index_CSX on CSX(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_inline_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_inline_03.aql
index 291503e..4e94d09 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_inline_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard-check_inline_03.aql
@@ -38,7 +38,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard-check_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard-check_04.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_01.aql
index 66cb7ed..e7fb8d5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_01.aql
@@ -47,7 +47,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_02.aql
index b31002e..534aec0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_02.aql
@@ -47,7 +47,7 @@
create index keyword_index on CSX(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_02.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_02.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_03.aql
index bb25511..2047f8d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_03.aql
@@ -37,7 +37,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_03.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_03.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_04.aql
index 2316011..65734a1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_04.aql
@@ -48,7 +48,7 @@
create index keyword_index_CSX on CSX(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_01.adm";
for $a in dataset('DBLP')
for $b in dataset('CSX')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_inline_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_inline_03.aql
index e7825f1..451f03a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_inline_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/inverted-index-join/word-jaccard_inline_03.aql
@@ -38,7 +38,7 @@
create index keyword_index on DBLP(title:string) type keyword enforced;
-write output to nc1:"rttest/inverted-index-join_word-jaccard_04.adm";
+write output to asterix_nc1:"rttest/inverted-index-join_word-jaccard_04.adm";
for $a in dataset('DBLP')
for $b in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
index cb40bf5..185dba2 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
@@ -54,7 +54,7 @@
create index msgCountBIx on TweetMessages(countB) type btree;
create index msgTextIx on TweetMessages(message-text) type keyword;
-write output to nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_01.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_01.adm";
for $t1 in dataset('TweetMessages')
let $n := create-circle($t1.sender-location, 0.5)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
index cef2bbc..e6bd649 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
@@ -54,7 +54,7 @@
create index msgCountBIx on TweetMessages(countB) type btree;
create index msgTextIx on TweetMessages(message-text) type keyword;
-write output to nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_02.adm";
for $t1 in dataset('TweetMessages')
let $n := create-circle($t1.sender-location, 0.5)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_01.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_01.aql
index 1e2d0e8..1b3bb3e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_01.aql
@@ -53,7 +53,7 @@
create index rtree_index on MyData1(point:point) type rtree enforced;
-write output to nc1:"rttest/index-join_rtree-spatial-intersect-point.adm";
+write output to asterix_nc1:"rttest/index-join_rtree-spatial-intersect-point.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_02.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_02.aql
index aefb498..bf57535 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_02.aql
@@ -53,7 +53,7 @@
create index rtree_index on MyData2(point:point) type rtree enforced;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_03.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_03.aql
index d204114..4d73907 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_03.aql
@@ -41,7 +41,7 @@
create index rtree_index on MyData(point:point) type rtree enforced;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_03.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_03.adm";
for $a in dataset('MyData')
for $b in dataset('MyData')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_04.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_04.aql
index 9656caf..a72f77e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_04.aql
@@ -44,7 +44,7 @@
create index rtree_index2 on MyData2(point:point) type rtree enforced;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_05.aql b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_05.aql
index 83b9af6..dd49d93 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/open-index-enforced/rtree-index-join/spatial-intersect-point_05.aql
@@ -42,7 +42,7 @@
create index rtree_index on MyData1(point:point) type rtree enforced;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/orderby-desc-using-gby.aql b/asterix-app/src/test/resources/optimizerts/queries/orderby-desc-using-gby.aql
index 9ec244b..794a0ab 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/orderby-desc-using-gby.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/orderby-desc-using-gby.aql
@@ -39,12 +39,12 @@
}
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Customers(CustomerType)
primary key cid on group1;
-write output to nc1:"rttest/gby-using-orderby-desc.adm";
+write output to asterix_nc1:"rttest/gby-using-orderby-desc.adm";
for $c in dataset('Customers')
group by $name := $c.name decor $age := $c.age with $c
diff --git a/asterix-app/src/test/resources/optimizerts/queries/orders-aggreg.aql b/asterix-app/src/test/resources/optimizerts/queries/orders-aggreg.aql
index 906ffe2..18ce36b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/orders-aggreg.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/orders-aggreg.aql
@@ -31,12 +31,12 @@
total: float
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Orders(OrderType)
primary key oid on group1;
-write output to nc1:"/tmp/orders-aggreg.adm";
+write output to asterix_nc1:"/tmp/orders-aggreg.adm";
for $o in dataset('Orders')
group by $cid := $o.cid with $o
diff --git a/asterix-app/src/test/resources/optimizerts/queries/orders-composite-index-search.aql b/asterix-app/src/test/resources/optimizerts/queries/orders-composite-index-search.aql
index e0d83e8..a8fc425 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/orders-composite-index-search.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/orders-composite-index-search.aql
@@ -36,7 +36,7 @@
create index idx_Custkey_Orderstatus on Orders(o_custkey, o_orderstatus);
-write output to nc1:"/tmp/index_search.adm";
+write output to asterix_nc1:"/tmp/index_search.adm";
for $o in dataset('Orders')
where
diff --git a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive-open_01.aql b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive-open_01.aql
index fb71554..1b19225 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive-open_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive-open_01.aql
@@ -34,18 +34,18 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Orders(OrderType)
primary key o_orderkey on group1;
load dataset Orders
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
-(("path"="nc1://data/tpch0.001/orders.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted;
+(("path"="asterix_nc1://data/tpch0.001/orders.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted;
create index idx_Orders_Custkey on Orders(o_custkey);
-write output to nc1:"/tmp/index_search-conjunctive.adm";
+write output to asterix_nc1:"/tmp/index_search-conjunctive.adm";
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive-open_02.aql b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive-open_02.aql
index 34b45a3..f2543f9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive-open_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive-open_02.aql
@@ -34,18 +34,18 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Orders(OrderType)
primary key o_orderkey on group1;
load dataset Orders
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
-(("path"="nc1://data/tpch0.001/orders.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted;
+(("path"="asterix_nc1://data/tpch0.001/orders.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted;
create index idx_Orders_Custkey on Orders(o_custkey);
-write output to nc1:"/tmp/index_search-conjunctive.adm";
+write output to asterix_nc1:"/tmp/index_search-conjunctive.adm";
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive_01.aql b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive_01.aql
index 8453136..b6f7a7f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive_01.aql
@@ -34,18 +34,18 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Orders(OrderType)
primary key o_orderkey on group1;
load dataset Orders
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
-(("path"="nc1://data/tpch0.001/orders.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted;
+(("path"="asterix_nc1://data/tpch0.001/orders.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted;
create index idx_Orders_Custkey on Orders(o_custkey);
-write output to nc1:"/tmp/index_search-conjunctive.adm";
+write output to asterix_nc1:"/tmp/index_search-conjunctive.adm";
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive_02.aql b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive_02.aql
index ece1cab..99d879d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-conjunctive_02.aql
@@ -34,18 +34,18 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Orders(OrderType)
primary key o_orderkey on group1;
load dataset Orders
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
-(("path"="nc1://data/tpch0.001/orders.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted;
+(("path"="asterix_nc1://data/tpch0.001/orders.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted;
create index idx_Orders_Custkey on Orders(o_custkey);
-write output to nc1:"/tmp/index_search-conjunctive.adm";
+write output to asterix_nc1:"/tmp/index_search-conjunctive.adm";
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-open.aql b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-open.aql
index e69b93e..90764c3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-open.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search-open.aql
@@ -35,14 +35,14 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Orders(OrderType)
primary key o_orderkey on group1;
create index idx_Orders_Custkey on Orders(o_custkey);
-write output to nc1:"/tmp/index_search.adm";
+write output to asterix_nc1:"/tmp/index_search.adm";
for $o in dataset('Orders')
where
diff --git a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search.aql b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search.aql
index 20d76fe..311eadc 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/orders-index-search.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/orders-index-search.aql
@@ -35,14 +35,14 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Orders(OrderType)
primary key o_orderkey on group1;
create index idx_Orders_Custkey on Orders(o_custkey);
-write output to nc1:"/tmp/index_search.adm";
+write output to asterix_nc1:"/tmp/index_search.adm";
for $o in dataset('Orders')
where
diff --git a/asterix-app/src/test/resources/optimizerts/queries/prim-idx-search-open.aql b/asterix-app/src/test/resources/optimizerts/queries/prim-idx-search-open.aql
index 55869cf..f59d88a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/prim-idx-search-open.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/prim-idx-search-open.aql
@@ -36,13 +36,13 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Orders(OrderType)
primary key o_orderkey on group1;
-write output to nc1:"/tmp/prim_index_search.adm";
+write output to asterix_nc1:"/tmp/prim_index_search.adm";
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/prim-idx-search.aql b/asterix-app/src/test/resources/optimizerts/queries/prim-idx-search.aql
index 6134391..acba88d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/prim-idx-search.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/prim-idx-search.aql
@@ -36,13 +36,13 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Orders(OrderType)
primary key o_orderkey on group1;
-write output to nc1:"/tmp/prim_index_search.adm";
+write output to asterix_nc1:"/tmp/prim_index_search.adm";
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/pull_select_above_eq_join.aql b/asterix-app/src/test/resources/optimizerts/queries/pull_select_above_eq_join.aql
index 10296cb..a909b11 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/pull_select_above_eq_join.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/pull_select_above_eq_join.aql
@@ -36,7 +36,7 @@
lottery_numbers: {{int32}}
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Users(UserType)
primary key uid on group1;
@@ -45,7 +45,7 @@
primary key vid on group1;
-write output to nc1:"/tmp/pull-select-above-eq-join.adm";
+write output to asterix_nc1:"/tmp/pull-select-above-eq-join.adm";
for $user in dataset('Users')
for $visitor in dataset('Visitors')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/push-project-through-group.aql b/asterix-app/src/test/resources/optimizerts/queries/push-project-through-group.aql
index 4cef908..4b4ed34 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/push-project-through-group.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/push-project-through-group.aql
@@ -30,13 +30,13 @@
misc: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset DBLP(DBLPType)
primary key id on group1;
-write output to nc1:'rttest/fuzzyjoin_080.adm';
+write output to asterix_nc1:'rttest/fuzzyjoin_080.adm';
for $paperDBLP in dataset('DBLP')
let $matches :=
diff --git a/asterix-app/src/test/resources/optimizerts/queries/push_limit.aql b/asterix-app/src/test/resources/optimizerts/queries/push_limit.aql
index cdd8545..1106cae 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/push_limit.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/push_limit.aql
@@ -32,11 +32,11 @@
o_comment: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Orders(OrderType)
primary key o_orderkey on group1;
-write output to nc1:"/tmp/push_limit.adm";
+write output to asterix_nc1:"/tmp/push_limit.adm";
for $o in dataset('Orders')
where $o.o_totalprice > 100
diff --git a/asterix-app/src/test/resources/optimizerts/queries/q01_pricing_summary_report_nt.aql b/asterix-app/src/test/resources/optimizerts/queries/q01_pricing_summary_report_nt.aql
index 4e36e42..aeb1ada 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/q01_pricing_summary_report_nt.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/q01_pricing_summary_report_nt.aql
@@ -44,9 +44,9 @@
load dataset LineItem
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
-(("path"="nc1://data/tpch0.001/lineitem.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted;
+(("path"="asterix_nc1://data/tpch0.001/lineitem.tbl"),("format"="delimited-text"),("delimiter"="|")) pre-sorted;
-write output to nc1:"rttest/tpch_q1_pricing_summary_report_nt.adm";
+write output to asterix_nc1:"rttest/tpch_q1_pricing_summary_report_nt.adm";
for $l in dataset('LineItem')
where $l.l_shipdate <= '1998-09-02'
diff --git a/asterix-app/src/test/resources/optimizerts/queries/q03_shipping_priority.aql b/asterix-app/src/test/resources/optimizerts/queries/q03_shipping_priority.aql
index 793bbc7..fcc9def 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/q03_shipping_priority.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/q03_shipping_priority.aql
@@ -64,7 +64,7 @@
c_comment: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset LineItems(LineItemType)
primary key l_orderkey, l_linenumber on group1;
@@ -73,7 +73,7 @@
create dataset Customers(CustomerType)
primary key c_custkey on group1;
-write output to nc1:"/tmp/q3_shipping_priority.adm";
+write output to asterix_nc1:"/tmp/q3_shipping_priority.adm";
for $c in dataset('Customers')
for $o in dataset('Orders')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/q05_local_supplier_volume.aql b/asterix-app/src/test/resources/optimizerts/queries/q05_local_supplier_volume.aql
index 0ef0d32..d90b699 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/q05_local_supplier_volume.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/q05_local_supplier_volume.aql
@@ -87,7 +87,7 @@
r_comment: string
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset LineItems(LineItemType)
primary key l_orderkey, l_linenumber on group1;
@@ -102,7 +102,7 @@
create dataset Regions(RegionType)
primary key r_regionkey on group1;
-write output to nc1:"/tmp/q5_local_supplier.adm";
+write output to asterix_nc1:"/tmp/q5_local_supplier.adm";
for $c in dataset('Customers')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/q1.aql b/asterix-app/src/test/resources/optimizerts/queries/q1.aql
index 84f6edb..2feb94f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/q1.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/q1.aql
@@ -43,11 +43,11 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset User(UserType) primary key name on group1;
-write output to nc1:"/tmp/q1.adm";
+write output to asterix_nc1:"/tmp/q1.adm";
for $user in dataset('User')
where some $i in $user.interests
diff --git a/asterix-app/src/test/resources/optimizerts/queries/q2.aql b/asterix-app/src/test/resources/optimizerts/queries/q2.aql
index 7529844..01c49d3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/q2.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/q2.aql
@@ -50,11 +50,11 @@
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Event(EventType) primary key name on group1;
-write output to nc1:"/tmp/q2.adm";
+write output to asterix_nc1:"/tmp/q2.adm";
for $event in dataset('Event')
for $sponsor in $event.sponsoring_sigs
diff --git a/asterix-app/src/test/resources/optimizerts/queries/record_access.aql b/asterix-app/src/test/resources/optimizerts/queries/record_access.aql
index 28f4d4c..1e29dec 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/record_access.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/record_access.aql
@@ -20,7 +20,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"/tmp/rec_access.adm";
+write output to asterix_nc1:"/tmp/rec_access.adm";
let $r := { "a": 2 }
let $a := $r.a
diff --git a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/issue730.aql b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/issue730.aql
index 8bf6dbb..21795b1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/issue730.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/issue730.aql
@@ -49,7 +49,7 @@
create index twmSndLocIx on TweetMessages(sender_location) type rtree;
-write output to nc1:"rttest/rtree-index-join_issue730.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_issue730.adm";
for $t1 in dataset('TweetMessages')
where $t1.send_time >= datetime('2011-06-18T14:10:17') and $t1.send_time < datetime('2011-06-18T15:10:17')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
index aa4ffc2..2623fc4 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_01.aql
@@ -55,7 +55,7 @@
create index msgCountBIx on TweetMessages(countB) type btree;
create index msgTextIx on TweetMessages(message-text) type keyword;
-write output to nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_01.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_01.adm";
for $t1 in dataset('TweetMessages')
let $n := create-circle($t1.sender-location, 0.5)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
index 7655490..c9da4af 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/leftouterjoin-probe-pidx-with-join-rtree-sidx_02.aql
@@ -55,7 +55,7 @@
create index msgCountBIx on TweetMessages(countB) type btree;
create index msgTextIx on TweetMessages(message-text) type keyword;
-write output to nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_leftouterjoin-probe-pidx-with-join-rtree-sidx_02.adm";
for $t1 in dataset('TweetMessages')
let $n := create-circle($t1.sender-location, 0.5)
diff --git a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/query-issue838.aql b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/query-issue838.aql
index c07a58c..c152f0d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/query-issue838.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/query-issue838.aql
@@ -45,7 +45,7 @@
primary key tweetid;
create index locationIdx on TweetMessages(sender-location) type rtree;
-write output to nc1:"rttest/query-issue838.adm";
+write output to asterix_nc1:"rttest/query-issue838.adm";
for $sub in dataset TweetHistorySubscriptions
let $location := $sub.location
diff --git a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_01.aql b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_01.aql
index a6cafb2..58c1acc 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_01.aql
@@ -43,7 +43,7 @@
create index rtree_index on MyData1(point) type rtree;
-write output to nc1:"rttest/index-join_rtree-spatial-intersect-point.adm";
+write output to asterix_nc1:"rttest/index-join_rtree-spatial-intersect-point.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_02.aql b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_02.aql
index 216ac93..dcbf53f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_02.aql
@@ -43,7 +43,7 @@
create index rtree_index on MyData2(point) type rtree;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_02.adm";
for $a in dataset('MyData1')
for $b in dataset('MyData2')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_03.aql b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_03.aql
index a399038..624fe9e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/rtree-index-join/spatial-intersect-point_03.aql
@@ -42,7 +42,7 @@
create index rtree_index on MyData(point) type rtree;
-write output to nc1:"rttest/rtree-index-join_spatial-intersect-point_03.adm";
+write output to asterix_nc1:"rttest/rtree-index-join_spatial-intersect-point_03.adm";
for $a in dataset('MyData')
for $b in dataset('MyData')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/rtree-secondary-index-open.aql b/asterix-app/src/test/resources/optimizerts/queries/rtree-secondary-index-open.aql
index ef17ced7..f7369d8 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/rtree-secondary-index-open.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/rtree-secondary-index-open.aql
@@ -32,19 +32,19 @@
circle: circle
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset MyData(MyRecord)
primary key id on group1;
load dataset MyData
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
-(("path"="nc1://data/spatial/spatialData.json"),("format"="adm")) pre-sorted;
+(("path"="asterix_nc1://data/spatial/spatialData.json"),("format"="adm")) pre-sorted;
create index rtree_index_point on MyData(point) type rtree;
-write output to nc1:"rttest/index_rtree-secondary-index-open.adm";
+write output to asterix_nc1:"rttest/index_rtree-secondary-index-open.adm";
for $o in dataset('MyData')
where spatial-intersect($o.point, create-polygon([4.0,1.0,4.0,4.0,12.0,4.0,12.0,1.0]))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/rtree-secondary-index.aql b/asterix-app/src/test/resources/optimizerts/queries/rtree-secondary-index.aql
index a75f187..c0d2062 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/rtree-secondary-index.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/rtree-secondary-index.aql
@@ -32,19 +32,19 @@
circle: circle
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset MyData(MyRecord)
primary key id on group1;
load dataset MyData
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
-(("path"="nc1://data/spatial/spatialData.json"),("format"="adm")) pre-sorted;
+(("path"="asterix_nc1://data/spatial/spatialData.json"),("format"="adm")) pre-sorted;
create index rtree_index_point on MyData(point) type rtree;
-write output to nc1:"rttest/index_rtree-secondary-index.adm";
+write output to asterix_nc1:"rttest/index_rtree-secondary-index.adm";
for $o in dataset('MyData')
where spatial-intersect($o.point, create-polygon([4.0,1.0,4.0,4.0,12.0,4.0,12.0,1.0]))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/scan-delete-all.aql b/asterix-app/src/test/resources/optimizerts/queries/scan-delete-all.aql
index aae52e2..103ccb5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/scan-delete-all.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/scan-delete-all.aql
@@ -45,7 +45,7 @@
l_suppkey: int32
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset LineItems_q1(LineItemType)
primary key l_orderkey on group1;
diff --git a/asterix-app/src/test/resources/optimizerts/queries/scan-delete-rtree-secondary-index.aql b/asterix-app/src/test/resources/optimizerts/queries/scan-delete-rtree-secondary-index.aql
index 73b0cd2..702fc06 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/scan-delete-rtree-secondary-index.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/scan-delete-rtree-secondary-index.aql
@@ -32,14 +32,14 @@
circle: circle
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset MyData(MyRecord)
primary key id on group1;
load dataset MyData
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
-(("path"="nc1://data/spatial/spatialData.json"),("format"="adm")) pre-sorted;
+(("path"="asterix_nc1://data/spatial/spatialData.json"),("format"="adm")) pre-sorted;
create index rtree_index_point on MyData(point) type rtree;
diff --git a/asterix-app/src/test/resources/optimizerts/queries/scan-delete.aql b/asterix-app/src/test/resources/optimizerts/queries/scan-delete.aql
index 0369c7f..c140021 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/scan-delete.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/scan-delete.aql
@@ -46,7 +46,7 @@
l_suppkey: int32
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset LineItems_q1(LineItemType)
primary key l_orderkey on group1;
diff --git a/asterix-app/src/test/resources/optimizerts/queries/scan-insert-secondary-index.aql b/asterix-app/src/test/resources/optimizerts/queries/scan-insert-secondary-index.aql
index 840081b..8f0cb34 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/scan-insert-secondary-index.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/scan-insert-secondary-index.aql
@@ -45,7 +45,7 @@
l_suppkey: int32
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset LineItems_q1(LineItemType)
primary key l_orderkey on group1;
diff --git a/asterix-app/src/test/resources/optimizerts/queries/scan-insert.aql b/asterix-app/src/test/resources/optimizerts/queries/scan-insert.aql
index 4902bc6..44715d5 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/scan-insert.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/scan-insert.aql
@@ -45,7 +45,7 @@
l_suppkey: int32
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset LineItems_q1(LineItemType)
primary key l_orderkey on group1;
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_01.aql
index 3ec9472..0cdb106 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_01.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_01.adm";
for $o in dataset('DBLP')
let $ed := edit-distance($o.authors, "Michael J. Carey")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_02.aql
index 1da3606..3cbd754f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_02.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_02.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_02.adm";
for $o in dataset('DBLP')
let $ed := edit-distance($o.authors, "Michael J. Carey")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_03.aql
index 572b505..ad10756 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_03.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_03.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_03.adm";
for $o in dataset('DBLP')
let $ed := edit-distance($o.authors, "Michael J. Carey")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_04.aql
index a5349fd..8f71201 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_04.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_04.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_04.adm";
for $o in dataset('DBLP')
let $ed := edit-distance($o.authors, "Michael J. Carey")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_05.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_05.aql
index 5f5eec7..eee8d8c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_05.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_05.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_05.adm";
for $o in dataset('DBLP')
let $ed := edit-distance($o.authors, "Michael J. Carey")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_06.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_06.aql
index d869685..cb99bb3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_06.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_06.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_06.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_06.adm";
for $o in dataset('DBLP')
let $ed := edit-distance($o.authors, "Michael J. Carey")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_07.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_07.aql
index c96c39a..beaef2e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_07.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_07.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_07.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_07.adm";
for $o in dataset('DBLP')
let $ed := edit-distance($o.authors, "Michael J. Carey")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_08.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_08.aql
index 8bfa7d8..897c620 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_08.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-let-to-edit-distance-check_08.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_08.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-let-to-edit-distance-check_08.adm";
for $o in dataset('DBLP')
let $ed := edit-distance($o.authors, "Michael J. Carey")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_01.aql
index 0fc611e..7b02d92 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_01.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-to-edit-distance-check_01.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-to-edit-distance-check_01.adm";
for $o in dataset('DBLP')
where edit-distance($o.authors, "Michael J. Carey") <= 2
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_02.aql
index 99cb91f..b14939f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_02.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-to-edit-distance-check_02.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-to-edit-distance-check_02.adm";
for $o in dataset('DBLP')
where 2 >= edit-distance($o.authors, "Michael J. Carey")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_03.aql
index 98c20a2..00d0380 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_03.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-to-edit-distance-check_03.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-to-edit-distance-check_03.adm";
for $o in dataset('DBLP')
where edit-distance($o.authors, "Michael J. Carey") < 3
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_04.aql
index cd2b761..ceafc8f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_04.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-to-edit-distance-check_04.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-to-edit-distance-check_04.adm";
for $o in dataset('DBLP')
where 3 > edit-distance($o.authors, "Michael J. Carey")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_05.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_05.aql
index a266010..c463f8d 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_05.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-to-edit-distance-check_05.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-to-edit-distance-check_05.adm";
// We cannot introduce edit-distance-check because the condition is >=
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_06.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_06.aql
index d5bf4ac..2723e7f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_06.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_06.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-to-edit-distance-check_06.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-to-edit-distance-check_06.adm";
// We cannot introduce edit-distance-check because the condition is <=
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_07.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_07.aql
index 4fbfc08..fcae8d9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_07.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_07.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-to-edit-distance-check_07.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-to-edit-distance-check_07.adm";
// We cannot introduce edit-distance-check because the condition is >
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_08.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_08.aql
index e3d47a4..e6c42dc 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_08.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/edit-distance-to-edit-distance-check_08.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_edit-distance-to-edit-distance-check_08.adm";
+write output to asterix_nc1:"rttest/similarity_edit-distance-to-edit-distance-check_08.adm";
// We cannot introduce edit-distance-check because the condition is <
for $o in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/fuzzyeq-to-edit-distance-check.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/fuzzyeq-to-edit-distance-check.aql
index 2ca045b..6a93ed9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/fuzzyeq-to-edit-distance-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/fuzzyeq-to-edit-distance-check.aql
@@ -36,7 +36,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_fuzzyeq-to-edit-distance-check.adm";
+write output to asterix_nc1:"rttest/similarity_fuzzyeq-to-edit-distance-check.adm";
set simfunction 'edit-distance';
set simthreshold '1';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/fuzzyeq-to-jaccard-check.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/fuzzyeq-to-jaccard-check.aql
index 9ec9eb4..3fd8edb 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/fuzzyeq-to-jaccard-check.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/fuzzyeq-to-jaccard-check.aql
@@ -36,7 +36,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_fuzzyeq-to-jaccard-check.adm";
+write output to asterix_nc1:"rttest/similarity_fuzzyeq-to-jaccard-check.adm";
set simfunction 'jaccard';
set simthreshold '0.8f';
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_01.aql
index bafd393..6ec46d7 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_01.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
for $paper in dataset('DBLP')
let $jacc := similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments"))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_02.aql
index 01439b0..267a16e 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_02.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
for $paper in dataset('DBLP')
let $jacc := similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments"))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_03.aql
index abb7f89..e83c79f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_03.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
for $paper in dataset('DBLP')
let $jacc := similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments"))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_04.aql
index 8268cb7..6833b4b 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_04.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
for $paper in dataset('DBLP')
let $jacc := similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments"))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_05.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_05.aql
index 7a9f1f1..70b43ba 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_05.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
for $paper in dataset('DBLP')
let $jacc := similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments"))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_06.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_06.aql
index 0a25c83..de9a9ad 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_06.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_06.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
for $paper in dataset('DBLP')
let $jacc := similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments"))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_07.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_07.aql
index 83ffad0..5ffdaaf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_07.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_07.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
for $paper in dataset('DBLP')
let $jacc := similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments"))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_08.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_08.aql
index cb15d81..0009992 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_08.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-let-to-jaccard-check_08.aql
@@ -38,7 +38,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-let-to-jaccard-check_01.adm";
for $paper in dataset('DBLP')
let $jacc := similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments"))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_01.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_01.aql
index d7659b1..b69ae65 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_01.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-to-jaccard-check_01.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-to-jaccard-check_01.adm";
for $paper in dataset('DBLP')
where similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments")) >= 0.8f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_02.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_02.aql
index eb10b6f..0f72ccf 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_02.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-to-jaccard-check_02.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-to-jaccard-check_02.adm";
for $paper in dataset('DBLP')
where 0.8f <= similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments"))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_03.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_03.aql
index a3d9dde..717c9f9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_03.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_03.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-to-jaccard-check_02.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-to-jaccard-check_02.adm";
for $paper in dataset('DBLP')
where similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments")) > 0.8f
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_04.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_04.aql
index ebbc865..150eb5c 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_04.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_04.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-to-jaccard-check_03.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-to-jaccard-check_03.adm";
for $paper in dataset('DBLP')
where 0.8f < similarity-jaccard(word-tokens($paper.title), word-tokens("Transactions for Cooperative Environments"))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_05.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_05.aql
index a72a738..0312d8a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_05.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_05.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-to-jaccard-check_05.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-to-jaccard-check_05.adm";
// We cannot introduce jaccard-check because the condition is <=
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_06.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_06.aql
index 2adfd00..55ebbb6 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_06.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_06.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-to-jaccard-check_06.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-to-jaccard-check_06.adm";
// We cannot introduce jaccard-check because the condition is >=
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_07.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_07.aql
index f015a6e..06b1bc9 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_07.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_07.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-to-jaccard-check_07.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-to-jaccard-check_07.adm";
// We cannot introduce jaccard-check because the condition is <
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_08.aql b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_08.aql
index 3225340..d88bcb1 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_08.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/similarity/jaccard-to-jaccard-check_08.aql
@@ -37,7 +37,7 @@
create dataset DBLP(DBLPType) primary key id;
-write output to nc1:"rttest/similarity_jaccard-to-jaccard-check_08.adm";
+write output to asterix_nc1:"rttest/similarity_jaccard-to-jaccard-check_08.adm";
// We cannot introduce jaccard-check because the condition is >
for $paper in dataset('DBLP')
diff --git a/asterix-app/src/test/resources/optimizerts/queries/skip-index/dont-skip-primary-index.aql b/asterix-app/src/test/resources/optimizerts/queries/skip-index/dont-skip-primary-index.aql
index 66685fa..69f2f24 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/skip-index/dont-skip-primary-index.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/skip-index/dont-skip-primary-index.aql
@@ -27,7 +27,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-primary-16.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-primary-16.adm";
create type TestType as open {
fname : string,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-ngram-index.aql b/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-ngram-index.aql
index 0758ea0..e52276f 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-ngram-index.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-ngram-index.aql
@@ -38,7 +38,7 @@
create index ngram_index on DBLP(title) type ngram(3);
-write output to nc1:"rttest/inverted-index-basic_ngram-contains.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_ngram-contains.adm";
for $o in dataset('DBLP')
where /*+ skip-index */ test.contains($o.title, "Multimedia")
diff --git a/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-rtree-secondary-index.aql b/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-rtree-secondary-index.aql
index 3ffac85..537c9a0 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-rtree-secondary-index.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-rtree-secondary-index.aql
@@ -38,19 +38,19 @@
circle: circle
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset MyData(MyRecord)
primary key id on group1;
load dataset MyData
using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter"
-(("path"="nc1://data/spatial/spatialData.json"),("format"="adm")) pre-sorted;
+(("path"="asterix_nc1://data/spatial/spatialData.json"),("format"="adm")) pre-sorted;
create index rtree_index_point on MyData(point) type rtree;
-write output to nc1:"rttest/index_rtree-secondary-index.adm";
+write output to asterix_nc1:"rttest/index_rtree-secondary-index.adm";
for $o in dataset('MyData')
where /*+ skip-index */ spatial-intersect($o.point, create-polygon([4.0,1.0,4.0,4.0,12.0,4.0,12.0,1.0]))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-secondary-btree-index-2.aql b/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-secondary-btree-index-2.aql
index c5047b2..b8c7a8a 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-secondary-btree-index-2.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-secondary-btree-index-2.aql
@@ -26,7 +26,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-57.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-57.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-secondary-btree-index.aql b/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-secondary-btree-index.aql
index 4cd3c54..fedb963 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-secondary-btree-index.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-secondary-btree-index.aql
@@ -26,7 +26,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/btree-index_btree-secondary-57.adm";
+write output to asterix_nc1:"rttest/btree-index_btree-secondary-57.adm";
create type TestType as open {
id : int32,
diff --git a/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-word-index.aql b/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-word-index.aql
index 30726c5..5347b38 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-word-index.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/skip-index/skip-word-index.aql
@@ -39,7 +39,7 @@
create index keyword_index on DBLP(title) type keyword;
-write output to nc1:"rttest/inverted-index-basic_word-jaccard.adm";
+write output to asterix_nc1:"rttest/inverted-index-basic_word-jaccard.adm";
for $o in dataset('DBLP')
let $jacc := /*+ skip-index */ similarity-jaccard(word-tokens($o.title), word-tokens("Transactions for Cooperative Environments"))
diff --git a/asterix-app/src/test/resources/optimizerts/queries/sort-cust.aql b/asterix-app/src/test/resources/optimizerts/queries/sort-cust.aql
index 686e822..3eda850 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/sort-cust.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/sort-cust.aql
@@ -42,12 +42,12 @@
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset Customers(CustomerType)
primary key cid on group1;
-write output to nc1:"/tmp/custlimit.adm";
+write output to asterix_nc1:"/tmp/custlimit.adm";
for $c in dataset('Customers')
order by $c.age
diff --git a/asterix-app/src/test/resources/optimizerts/queries/unnest-to-join_01.aql b/asterix-app/src/test/resources/optimizerts/queries/unnest-to-join_01.aql
index defbcbf..52e56d3 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/unnest-to-join_01.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/unnest-to-join_01.aql
@@ -25,7 +25,7 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/unnest-to-join_01.adm";
+write output to asterix_nc1:"rttest/unnest-to-join_01.adm";
for $x in [1,2,3,4,5,6]
for $y in [4,5,6,7,8,9]
diff --git a/asterix-app/src/test/resources/optimizerts/queries/unnest-to-join_02.aql b/asterix-app/src/test/resources/optimizerts/queries/unnest-to-join_02.aql
index 20c22e5..4fa1f52 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/unnest-to-join_02.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/unnest-to-join_02.aql
@@ -25,6 +25,6 @@
create dataverse test;
use dataverse test;
-write output to nc1:"rttest/unnest-to-join_02.adm";
+write output to asterix_nc1:"rttest/unnest-to-join_02.adm";
some $x in [1,2,3,4,5,6], $y in [4,5,6,7,8,9] satisfies $x = $y
diff --git a/asterix-app/src/test/resources/optimizerts/queries/unnest_list_in_subplan.aql b/asterix-app/src/test/resources/optimizerts/queries/unnest_list_in_subplan.aql
index 640411e..2c5bf45 100644
--- a/asterix-app/src/test/resources/optimizerts/queries/unnest_list_in_subplan.aql
+++ b/asterix-app/src/test/resources/optimizerts/queries/unnest_list_in_subplan.aql
@@ -33,12 +33,12 @@
rank: int32
}
-create nodegroup group1 if not exists on nc1, nc2;
+create nodegroup group1 if not exists on asterix_nc1, asterix_nc2;
create dataset DBLP(DBLPType) primary key id on group1;
create dataset TOKENSRANKEDADM(TOKENSRANKEDADMType) primary key rank on group1;
-write output to nc1:'rttest/unnest_list_in_subplan.adm';
+write output to asterix_nc1:'rttest/unnest_list_in_subplan.adm';
//
// -- - Stage 2 - --