asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mb...@apache.org
Subject [5/9] asterixdb git commit: Hard Tabs++
Date Thu, 30 Jun 2016 16:55:26 GMT
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance-panic/inverted-index-ngram-edit-distance-panic.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance-panic/inverted-index-ngram-edit-distance-panic.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance-panic/inverted-index-ngram-edit-distance-panic.2.update.aql
index 0702ddf..18b4bbb 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance-panic/inverted-index-ngram-edit-distance-panic.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance-panic/inverted-index-ngram-edit-distance-panic.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset DBLP
 (
-	for $c in dataset('DBLPtmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('DBLPtmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance-word-tokens/inverted-index-ngram-edit-distance-word-tokens.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance-word-tokens/inverted-index-ngram-edit-distance-word-tokens.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance-word-tokens/inverted-index-ngram-edit-distance-word-tokens.2.update.aql
index 0619e49..463aa61 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance-word-tokens/inverted-index-ngram-edit-distance-word-tokens.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance-word-tokens/inverted-index-ngram-edit-distance-word-tokens.2.update.aql
@@ -23,8 +23,8 @@ using localfs
 (("path"="asterix_nc1://data/dblp-small/dblp-small-id.txt"),("format"="delimited-text"),("delimiter"=":")) pre-sorted;
 
 insert into dataset test.DBLP (
-	for $x in dataset test.DBLPtmp
-	return {
-		"nested": $x
-	}
+    for $x in dataset test.DBLPtmp
+    return {
+        "nested": $x
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance/inverted-index-ngram-edit-distance.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance/inverted-index-ngram-edit-distance.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance/inverted-index-ngram-edit-distance.2.update.aql
index 0702ddf..18b4bbb 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance/inverted-index-ngram-edit-distance.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-edit-distance/inverted-index-ngram-edit-distance.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset DBLP
 (
-	for $c in dataset('DBLPtmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('DBLPtmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-jaccard/inverted-index-ngram-jaccard.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-jaccard/inverted-index-ngram-jaccard.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-jaccard/inverted-index-ngram-jaccard.2.update.aql
index 0702ddf..18b4bbb 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-jaccard/inverted-index-ngram-jaccard.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ngram-jaccard/inverted-index-ngram-jaccard.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset DBLP
 (
-	for $c in dataset('DBLPtmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('DBLPtmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-edit-distance-panic/inverted-index-olist-edit-distance-panic.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-edit-distance-panic/inverted-index-olist-edit-distance-panic.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-edit-distance-panic/inverted-index-olist-edit-distance-panic.2.update.aql
index f0cc156..a2e50d6 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-edit-distance-panic/inverted-index-olist-edit-distance-panic.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-edit-distance-panic/inverted-index-olist-edit-distance-panic.2.update.aql
@@ -25,8 +25,8 @@ using localfs
 
 insert into dataset Customers
 (
-	for $c in dataset('Customerstmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Customerstmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-edit-distance/inverted-index-olist-edit-distance.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-edit-distance/inverted-index-olist-edit-distance.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-edit-distance/inverted-index-olist-edit-distance.2.update.aql
index f0cc156..a2e50d6 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-edit-distance/inverted-index-olist-edit-distance.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-edit-distance/inverted-index-olist-edit-distance.2.update.aql
@@ -25,8 +25,8 @@ using localfs
 
 insert into dataset Customers
 (
-	for $c in dataset('Customerstmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Customerstmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-jaccard/inverted-index-olist-jaccard.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-jaccard/inverted-index-olist-jaccard.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-jaccard/inverted-index-olist-jaccard.2.update.aql
index f0cc156..a2e50d6 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-jaccard/inverted-index-olist-jaccard.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-olist-jaccard/inverted-index-olist-jaccard.2.update.aql
@@ -25,8 +25,8 @@ using localfs
 
 insert into dataset Customers
 (
-	for $c in dataset('Customerstmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Customerstmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ulist-jaccard/inverted-index-ulist-jaccard.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ulist-jaccard/inverted-index-ulist-jaccard.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ulist-jaccard/inverted-index-ulist-jaccard.2.update.aql
index b54308d..664e6e3 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ulist-jaccard/inverted-index-ulist-jaccard.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-ulist-jaccard/inverted-index-ulist-jaccard.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset Customers
 (
-	for $c in dataset('Customerstmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Customerstmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-word-contains/inverted-index-word-contains.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-word-contains/inverted-index-word-contains.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-word-contains/inverted-index-word-contains.2.update.aql
index bfe2cfb..ecd5dd5 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-word-contains/inverted-index-word-contains.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-word-contains/inverted-index-word-contains.2.update.aql
@@ -25,8 +25,8 @@ using localfs
 
 insert into dataset DBLP
 (
-	for $c in dataset('DBLPtmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('DBLPtmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-word-jaccard/inverted-index-word-jaccard.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-word-jaccard/inverted-index-word-jaccard.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-word-jaccard/inverted-index-word-jaccard.2.update.aql
index bfe2cfb..ecd5dd5 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-word-jaccard/inverted-index-word-jaccard.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/inverted-index-word-jaccard/inverted-index-word-jaccard.2.update.aql
@@ -25,8 +25,8 @@ using localfs
 
 insert into dataset DBLP
 (
-	for $c in dataset('DBLPtmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('DBLPtmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-conjunctive-open/orders-index-custkey-conjunctive-open.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-conjunctive-open/orders-index-custkey-conjunctive-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-conjunctive-open/orders-index-custkey-conjunctive-open.2.update.aql
index 6d5ccc6..bda3125 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-conjunctive-open/orders-index-custkey-conjunctive-open.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-conjunctive-open/orders-index-custkey-conjunctive-open.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset Orders
 (
-	for $c in dataset('Orderstmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Orderstmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-conjunctive/orders-index-custkey-conjunctive.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-conjunctive/orders-index-custkey-conjunctive.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-conjunctive/orders-index-custkey-conjunctive.2.update.aql
index 6d5ccc6..bda3125 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-conjunctive/orders-index-custkey-conjunctive.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-conjunctive/orders-index-custkey-conjunctive.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset Orders
 (
-	for $c in dataset('Orderstmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Orderstmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-open/orders-index-custkey-open.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-open/orders-index-custkey-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-open/orders-index-custkey-open.2.update.aql
index 6d5ccc6..bda3125 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-open/orders-index-custkey-open.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey-open/orders-index-custkey-open.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset Orders
 (
-	for $c in dataset('Orderstmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Orderstmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey/orders-index-custkey.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey/orders-index-custkey.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey/orders-index-custkey.2.update.aql
index 6d5ccc6..bda3125 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey/orders-index-custkey.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/orders-index-custkey/orders-index-custkey.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset Orders
 (
-	for $c in dataset('Orderstmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Orderstmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/range-search-open/range-search-open.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/range-search-open/range-search-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/range-search-open/range-search-open.2.update.aql
index b0cfbe6..1987e0e 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/range-search-open/range-search-open.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/range-search-open/range-search-open.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset LineItem
 (
-	for $c in dataset('LineItemtmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('LineItemtmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/range-search/range-search.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/range-search/range-search.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/range-search/range-search.2.update.aql
index b0cfbe6..1987e0e 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/range-search/range-search.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/range-search/range-search.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset LineItem
 (
-	for $c in dataset('LineItemtmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('LineItemtmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index-nullable/rtree-secondary-index-nullable.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index-nullable/rtree-secondary-index-nullable.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index-nullable/rtree-secondary-index-nullable.2.update.aql
index eb97eda..1ee469e 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index-nullable/rtree-secondary-index-nullable.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index-nullable/rtree-secondary-index-nullable.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset MyData
 (
-	for $c in dataset('MyDatatmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('MyDatatmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index-open/rtree-secondary-index-open.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index-open/rtree-secondary-index-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index-open/rtree-secondary-index-open.2.update.aql
index 7a2c717..d968738 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index-open/rtree-secondary-index-open.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index-open/rtree-secondary-index-open.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset MyData
 (
-	for $c in dataset('MyDatatmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('MyDatatmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index/rtree-secondary-index.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index/rtree-secondary-index.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index/rtree-secondary-index.2.update.aql
index 7a2c717..d968738 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index/rtree-secondary-index.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-index/index-selection/rtree-secondary-index/rtree-secondary-index.2.update.aql
@@ -24,8 +24,8 @@ using localfs
 
 insert into dataset MyData
 (
-	for $c in dataset('MyDatatmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('MyDatatmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/external-indexing/leftouterjoin-rtree/leftouterjoin-rtree.1.ddl.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/external-indexing/leftouterjoin-rtree/leftouterjoin-rtree.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/external-indexing/leftouterjoin-rtree/leftouterjoin-rtree.1.ddl.aql
index afd7077..c62b90d 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/external-indexing/leftouterjoin-rtree/leftouterjoin-rtree.1.ddl.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/external-indexing/leftouterjoin-rtree/leftouterjoin-rtree.1.ddl.aql
@@ -18,7 +18,7 @@
  */
 /*
  * Description  : Test that left-outer-join may use two available indexes, one for primary index in prob subtree and another for secondary rtree index in index subtree.
- * Issue        : 730, 741                 
+ * Issue        : 730, 741
  * Expected Res : Success
  * Date         : 8th May 2014
  */
@@ -28,19 +28,19 @@ create dataverse test;
 use dataverse test;
 
 create type TwitterUserType as closed {
-	screen-name: string,
-	lang: string,
-	friends-count: int64,
-	statuses-count: int64,
-	name: string,
-	followers-count: int64
-} 
+    screen-name: string,
+    lang: string,
+    friends-count: int64,
+    statuses-count: int64,
+    name: string,
+    followers-count: int64
+}
 
 create type TweetMessageNestedType as open {
         user: TwitterUserType,
-	send-time: datetime,
+    send-time: datetime,
         referred-topics: {{ string }},
-	message-text: string
+    message-text: string
 }
 
 create type TweetMessageType as closed {

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/external-indexing/leftouterjoin/leftouterjoin.1.ddl.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/external-indexing/leftouterjoin/leftouterjoin.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/external-indexing/leftouterjoin/leftouterjoin.1.ddl.aql
index 49704a2..887f564 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/external-indexing/leftouterjoin/leftouterjoin.1.ddl.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/external-indexing/leftouterjoin/leftouterjoin.1.ddl.aql
@@ -18,7 +18,7 @@
  */
 /*
  * Description  : Test that left-outer-join may use two available indexes, one for primary index in prob subtree and another for secondary btree index in index subtree.
- * Issue        : 730, 741                 
+ * Issue        : 730, 741
  * Expected Res : Success
  * Date         : 8th May 2014
  */
@@ -28,20 +28,20 @@ create dataverse test;
 use dataverse test;
 
 create type TwitterUserType as closed {
-	screen-name: string,
-	lang: string,
-	friends-count: int64,
-	statuses-count: int64,
-	name: string,
-	followers-count: int64
-} 
+    screen-name: string,
+    lang: string,
+    friends-count: int64,
+    statuses-count: int64,
+    name: string,
+    followers-count: int64
+}
 
 create type TweetMessageNestedType as open {
         user: TwitterUserType,
         sender-location: point,
-	send-time: datetime,
+    send-time: datetime,
         referred-topics: {{ string }},
-	message-text: string
+    message-text: string
 }
 
 create type TweetMessageType as closed {

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.1.ddl.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.1.ddl.aql
index c998d61..e729f74 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.1.ddl.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.1.ddl.aql
@@ -18,9 +18,9 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */
@@ -30,52 +30,52 @@ create dataverse test;
 use dataverse test;
 
 create type S as closed{
-	id: int64,
-	Species: string
+    id: int64,
+    Species: string
 }
 
 create type GS as closed{
-	id: int64,
-	Genus: string,
-	lower: S
+    id: int64,
+    Genus: string,
+    lower: S
 }
 
 create type FGS as open{
-	id: int64,
-	Family: string
+    id: int64,
+    Family: string
 }
 
 create type OFGS as closed{
-	id: int64,
-	Order: string,
-	lower: FGS
+    id: int64,
+    Order: string,
+    lower: FGS
 }
 
 create type COFGS as closed{
-	id: int64,
-	Class: string,
-	lower: OFGS
+    id: int64,
+    Class: string,
+    lower: OFGS
 }
 
 create type PCOFGS as closed{
-	id: int64,
-	Phylum: string,
-	lower: COFGS
+    id: int64,
+    Phylum: string,
+    lower: COFGS
 }
 
 create type KPCOFGS as open{
-	id: int64,
-	Kingdom: string
+    id: int64,
+    Kingdom: string
 }
 
 create type Classification as closed{
-	id: int64,
-	fullClassification:KPCOFGS
+    id: int64,
+    fullClassification:KPCOFGS
 }
 
 create type Animal as closed{
-	id: int64,
-	class:Classification
+    id: int64,
+    class:Classification
 }
 
 

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.2.update.aql
index 08db698..e7424a4 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.2.update.aql
@@ -18,97 +18,97 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */
 use dataverse test;
 
 insert into dataset Ss(
-	{"id":1,"Species":"Gulo"}
+    {"id":1,"Species":"Gulo"}
 );
 insert into dataset Ss(
-	{"id":2,"Species":"Johnstoni"}
+    {"id":2,"Species":"Johnstoni"}
 );
 insert into dataset GSs(
-	for $S in dataset Ss
-	where $S.Species = "Gulo"
-	return {"id":1,"Genus":"Gulo","lower":$S}
+    for $S in dataset Ss
+    where $S.Species = "Gulo"
+    return {"id":1,"Genus":"Gulo","lower":$S}
 );
 insert into dataset GSs(
-	for $S in dataset Ss
-	where $S.Species = "Johnstoni"
-	return {"id":2,"Genus":"Okapia","lower":$S}
+    for $S in dataset Ss
+    where $S.Species = "Johnstoni"
+    return {"id":2,"Genus":"Okapia","lower":$S}
 );
 insert into dataset FGSs(
-	for $S in dataset GSs
-	where $S.lower.Species = "Gulo"
-	return {"id":1,"Family":"Mustelinae","lower":$S}
+    for $S in dataset GSs
+    where $S.lower.Species = "Gulo"
+    return {"id":1,"Family":"Mustelinae","lower":$S}
 );
 insert into dataset FGSs(
-	for $S in dataset GSs
-	where $S.lower.Species = "Johnstoni"
-	return {"id":2,"Family":"Giraffidae","lower":$S}
+    for $S in dataset GSs
+    where $S.lower.Species = "Johnstoni"
+    return {"id":2,"Family":"Giraffidae","lower":$S}
 );
 insert into dataset OFGSs(
-	for $S in dataset FGSs
-	where $S.lower.lower.Species = "Gulo"
-	return {"id":1,"Order":"Carnivora","lower":$S}
+    for $S in dataset FGSs
+    where $S.lower.lower.Species = "Gulo"
+    return {"id":1,"Order":"Carnivora","lower":$S}
 );
 insert into dataset OFGSs(
-	for $S in dataset FGSs
-	where $S.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Order":"Artiodactyla","lower":$S}
+    for $S in dataset FGSs
+    where $S.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Order":"Artiodactyla","lower":$S}
 );
 insert into dataset COFGSs(
-	for $S in dataset OFGSs
-	where $S.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Class":"Mammalia","lower":$S}
+    for $S in dataset OFGSs
+    where $S.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Class":"Mammalia","lower":$S}
 );
 insert into dataset COFGSs(
-	for $S in dataset OFGSs
-	where $S.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Class":"Mammalia","lower":$S}
+    for $S in dataset OFGSs
+    where $S.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Class":"Mammalia","lower":$S}
 );
 insert into dataset PCOFGSs(
-	for $S in dataset COFGSs
-	where $S.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Phylum":"Chordata","lower":$S}
+    for $S in dataset COFGSs
+    where $S.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Phylum":"Chordata","lower":$S}
 );
 insert into dataset PCOFGSs(
-	for $S in dataset COFGSs
-	where $S.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Phylum":"Chordata","lower":$S}
+    for $S in dataset COFGSs
+    where $S.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Phylum":"Chordata","lower":$S}
 );
 insert into dataset KPCOFGSs(
-	for $S in dataset PCOFGSs
-	where $S.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Kingdom":"Animalia","lower":$S}
+    for $S in dataset PCOFGSs
+    where $S.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Kingdom":"Animalia","lower":$S}
 );
 insert into dataset KPCOFGSs(
-	for $S in dataset PCOFGSs
-	where $S.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Kingdom":"Animalia","lower":$S}
+    for $S in dataset PCOFGSs
+    where $S.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Kingdom":"Animalia","lower":$S}
 );
 insert into dataset Classifications(
-	for $S in dataset KPCOFGSs
-	where $S.lower.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"fullClassification":$S}
+    for $S in dataset KPCOFGSs
+    where $S.lower.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"fullClassification":$S}
 );
 insert into dataset Classifications(
-	for $S in dataset KPCOFGSs
-	where $S.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"fullClassification":$S}
+    for $S in dataset KPCOFGSs
+    where $S.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"fullClassification":$S}
 );
 insert into dataset Animals(
-	for $S in dataset Classifications
-	where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"class":$S}
+    for $S in dataset Classifications
+    where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"class":$S}
 );
 insert into dataset Animals(
-	for $S in dataset Classifications
-	where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"class":$S}
+    for $S in dataset Classifications
+    where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"class":$S}
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.3.query.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.3.query.aql
index 66573b7..921d116 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.3.query.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-closed/bottom-closed-top-closed.3.query.aql
@@ -18,9 +18,9 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.1.ddl.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.1.ddl.aql
index 4e77cfa..dbc09c9 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.1.ddl.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.1.ddl.aql
@@ -18,9 +18,9 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */
@@ -30,51 +30,51 @@ create dataverse test;
 use dataverse test;
 
 create type S as closed{
-	id: int64,
-	Species: string
+    id: int64,
+    Species: string
 }
 
 create type GS as closed{
-	id: int64,
-	Genus: string,
-	lower: S
+    id: int64,
+    Genus: string,
+    lower: S
 }
 
 create type FGS as open{
-	id: int64,
-	Family: string
+    id: int64,
+    Family: string
 }
 
 create type OFGS as closed{
-	id: int64,
-	Order: string,
-	lower: FGS
+    id: int64,
+    Order: string,
+    lower: FGS
 }
 
 create type COFGS as closed{
-	id: int64,
-	Class: string,
-	lower: OFGS
+    id: int64,
+    Class: string,
+    lower: OFGS
 }
 
 create type PCOFGS as closed{
-	id: int64,
-	Phylum: string,
-	lower: COFGS
+    id: int64,
+    Phylum: string,
+    lower: COFGS
 }
 
 create type KPCOFGS as open{
-	id: int64,
-	Kingdom: string
+    id: int64,
+    Kingdom: string
 }
 
 create type Classification as closed{
-	id: int64,
-	fullClassification:KPCOFGS
+    id: int64,
+    fullClassification:KPCOFGS
 }
 
 create type Animal as open{
-	id: int64
+    id: int64
 }
 
 

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.2.update.aql
index 08db698..e7424a4 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.2.update.aql
@@ -18,97 +18,97 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */
 use dataverse test;
 
 insert into dataset Ss(
-	{"id":1,"Species":"Gulo"}
+    {"id":1,"Species":"Gulo"}
 );
 insert into dataset Ss(
-	{"id":2,"Species":"Johnstoni"}
+    {"id":2,"Species":"Johnstoni"}
 );
 insert into dataset GSs(
-	for $S in dataset Ss
-	where $S.Species = "Gulo"
-	return {"id":1,"Genus":"Gulo","lower":$S}
+    for $S in dataset Ss
+    where $S.Species = "Gulo"
+    return {"id":1,"Genus":"Gulo","lower":$S}
 );
 insert into dataset GSs(
-	for $S in dataset Ss
-	where $S.Species = "Johnstoni"
-	return {"id":2,"Genus":"Okapia","lower":$S}
+    for $S in dataset Ss
+    where $S.Species = "Johnstoni"
+    return {"id":2,"Genus":"Okapia","lower":$S}
 );
 insert into dataset FGSs(
-	for $S in dataset GSs
-	where $S.lower.Species = "Gulo"
-	return {"id":1,"Family":"Mustelinae","lower":$S}
+    for $S in dataset GSs
+    where $S.lower.Species = "Gulo"
+    return {"id":1,"Family":"Mustelinae","lower":$S}
 );
 insert into dataset FGSs(
-	for $S in dataset GSs
-	where $S.lower.Species = "Johnstoni"
-	return {"id":2,"Family":"Giraffidae","lower":$S}
+    for $S in dataset GSs
+    where $S.lower.Species = "Johnstoni"
+    return {"id":2,"Family":"Giraffidae","lower":$S}
 );
 insert into dataset OFGSs(
-	for $S in dataset FGSs
-	where $S.lower.lower.Species = "Gulo"
-	return {"id":1,"Order":"Carnivora","lower":$S}
+    for $S in dataset FGSs
+    where $S.lower.lower.Species = "Gulo"
+    return {"id":1,"Order":"Carnivora","lower":$S}
 );
 insert into dataset OFGSs(
-	for $S in dataset FGSs
-	where $S.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Order":"Artiodactyla","lower":$S}
+    for $S in dataset FGSs
+    where $S.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Order":"Artiodactyla","lower":$S}
 );
 insert into dataset COFGSs(
-	for $S in dataset OFGSs
-	where $S.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Class":"Mammalia","lower":$S}
+    for $S in dataset OFGSs
+    where $S.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Class":"Mammalia","lower":$S}
 );
 insert into dataset COFGSs(
-	for $S in dataset OFGSs
-	where $S.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Class":"Mammalia","lower":$S}
+    for $S in dataset OFGSs
+    where $S.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Class":"Mammalia","lower":$S}
 );
 insert into dataset PCOFGSs(
-	for $S in dataset COFGSs
-	where $S.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Phylum":"Chordata","lower":$S}
+    for $S in dataset COFGSs
+    where $S.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Phylum":"Chordata","lower":$S}
 );
 insert into dataset PCOFGSs(
-	for $S in dataset COFGSs
-	where $S.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Phylum":"Chordata","lower":$S}
+    for $S in dataset COFGSs
+    where $S.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Phylum":"Chordata","lower":$S}
 );
 insert into dataset KPCOFGSs(
-	for $S in dataset PCOFGSs
-	where $S.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Kingdom":"Animalia","lower":$S}
+    for $S in dataset PCOFGSs
+    where $S.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Kingdom":"Animalia","lower":$S}
 );
 insert into dataset KPCOFGSs(
-	for $S in dataset PCOFGSs
-	where $S.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Kingdom":"Animalia","lower":$S}
+    for $S in dataset PCOFGSs
+    where $S.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Kingdom":"Animalia","lower":$S}
 );
 insert into dataset Classifications(
-	for $S in dataset KPCOFGSs
-	where $S.lower.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"fullClassification":$S}
+    for $S in dataset KPCOFGSs
+    where $S.lower.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"fullClassification":$S}
 );
 insert into dataset Classifications(
-	for $S in dataset KPCOFGSs
-	where $S.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"fullClassification":$S}
+    for $S in dataset KPCOFGSs
+    where $S.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"fullClassification":$S}
 );
 insert into dataset Animals(
-	for $S in dataset Classifications
-	where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"class":$S}
+    for $S in dataset Classifications
+    where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"class":$S}
 );
 insert into dataset Animals(
-	for $S in dataset Classifications
-	where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"class":$S}
+    for $S in dataset Classifications
+    where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"class":$S}
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.3.query.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.3.query.aql
index 66573b7..921d116 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.3.query.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-closed-top-open/bottom-closed-top-open.3.query.aql
@@ -18,9 +18,9 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.1.ddl.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.1.ddl.aql
index 4a27d50..2b373f5 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.1.ddl.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.1.ddl.aql
@@ -18,9 +18,9 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */
@@ -30,51 +30,51 @@ create dataverse test;
 use dataverse test;
 
 create type S as open{
-	id: int64
+    id: int64
 }
 
 create type GS as closed{
-	id: int64,
-	Genus: string,
-	lower: S
+    id: int64,
+    Genus: string,
+    lower: S
 }
 
 create type FGS as open{
-	id: int64,
-	Family: string
+    id: int64,
+    Family: string
 }
 
 create type OFGS as closed{
-	id: int64,
-	Order: string,
-	lower: FGS
+    id: int64,
+    Order: string,
+    lower: FGS
 }
 
 create type COFGS as closed{
-	id: int64,
-	Class: string,
-	lower: OFGS
+    id: int64,
+    Class: string,
+    lower: OFGS
 }
 
 create type PCOFGS as closed{
-	id: int64,
-	Phylum: string,
-	lower: COFGS
+    id: int64,
+    Phylum: string,
+    lower: COFGS
 }
 
 create type KPCOFGS as open{
-	id: int64,
-	Kingdom: string
+    id: int64,
+    Kingdom: string
 }
 
 create type Classification as closed{
-	id: int64,
-	fullClassification:KPCOFGS
+    id: int64,
+    fullClassification:KPCOFGS
 }
 
 create type Animal as closed{
-	id: int64,
-	class:Classification
+    id: int64,
+    class:Classification
 }
 
 

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.2.update.aql
index 08db698..e7424a4 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.2.update.aql
@@ -18,97 +18,97 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */
 use dataverse test;
 
 insert into dataset Ss(
-	{"id":1,"Species":"Gulo"}
+    {"id":1,"Species":"Gulo"}
 );
 insert into dataset Ss(
-	{"id":2,"Species":"Johnstoni"}
+    {"id":2,"Species":"Johnstoni"}
 );
 insert into dataset GSs(
-	for $S in dataset Ss
-	where $S.Species = "Gulo"
-	return {"id":1,"Genus":"Gulo","lower":$S}
+    for $S in dataset Ss
+    where $S.Species = "Gulo"
+    return {"id":1,"Genus":"Gulo","lower":$S}
 );
 insert into dataset GSs(
-	for $S in dataset Ss
-	where $S.Species = "Johnstoni"
-	return {"id":2,"Genus":"Okapia","lower":$S}
+    for $S in dataset Ss
+    where $S.Species = "Johnstoni"
+    return {"id":2,"Genus":"Okapia","lower":$S}
 );
 insert into dataset FGSs(
-	for $S in dataset GSs
-	where $S.lower.Species = "Gulo"
-	return {"id":1,"Family":"Mustelinae","lower":$S}
+    for $S in dataset GSs
+    where $S.lower.Species = "Gulo"
+    return {"id":1,"Family":"Mustelinae","lower":$S}
 );
 insert into dataset FGSs(
-	for $S in dataset GSs
-	where $S.lower.Species = "Johnstoni"
-	return {"id":2,"Family":"Giraffidae","lower":$S}
+    for $S in dataset GSs
+    where $S.lower.Species = "Johnstoni"
+    return {"id":2,"Family":"Giraffidae","lower":$S}
 );
 insert into dataset OFGSs(
-	for $S in dataset FGSs
-	where $S.lower.lower.Species = "Gulo"
-	return {"id":1,"Order":"Carnivora","lower":$S}
+    for $S in dataset FGSs
+    where $S.lower.lower.Species = "Gulo"
+    return {"id":1,"Order":"Carnivora","lower":$S}
 );
 insert into dataset OFGSs(
-	for $S in dataset FGSs
-	where $S.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Order":"Artiodactyla","lower":$S}
+    for $S in dataset FGSs
+    where $S.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Order":"Artiodactyla","lower":$S}
 );
 insert into dataset COFGSs(
-	for $S in dataset OFGSs
-	where $S.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Class":"Mammalia","lower":$S}
+    for $S in dataset OFGSs
+    where $S.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Class":"Mammalia","lower":$S}
 );
 insert into dataset COFGSs(
-	for $S in dataset OFGSs
-	where $S.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Class":"Mammalia","lower":$S}
+    for $S in dataset OFGSs
+    where $S.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Class":"Mammalia","lower":$S}
 );
 insert into dataset PCOFGSs(
-	for $S in dataset COFGSs
-	where $S.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Phylum":"Chordata","lower":$S}
+    for $S in dataset COFGSs
+    where $S.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Phylum":"Chordata","lower":$S}
 );
 insert into dataset PCOFGSs(
-	for $S in dataset COFGSs
-	where $S.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Phylum":"Chordata","lower":$S}
+    for $S in dataset COFGSs
+    where $S.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Phylum":"Chordata","lower":$S}
 );
 insert into dataset KPCOFGSs(
-	for $S in dataset PCOFGSs
-	where $S.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Kingdom":"Animalia","lower":$S}
+    for $S in dataset PCOFGSs
+    where $S.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Kingdom":"Animalia","lower":$S}
 );
 insert into dataset KPCOFGSs(
-	for $S in dataset PCOFGSs
-	where $S.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Kingdom":"Animalia","lower":$S}
+    for $S in dataset PCOFGSs
+    where $S.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Kingdom":"Animalia","lower":$S}
 );
 insert into dataset Classifications(
-	for $S in dataset KPCOFGSs
-	where $S.lower.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"fullClassification":$S}
+    for $S in dataset KPCOFGSs
+    where $S.lower.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"fullClassification":$S}
 );
 insert into dataset Classifications(
-	for $S in dataset KPCOFGSs
-	where $S.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"fullClassification":$S}
+    for $S in dataset KPCOFGSs
+    where $S.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"fullClassification":$S}
 );
 insert into dataset Animals(
-	for $S in dataset Classifications
-	where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"class":$S}
+    for $S in dataset Classifications
+    where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"class":$S}
 );
 insert into dataset Animals(
-	for $S in dataset Classifications
-	where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"class":$S}
+    for $S in dataset Classifications
+    where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"class":$S}
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.3.query.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.3.query.aql
index 66573b7..921d116 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.3.query.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-closed/bottom-open-top-closed.3.query.aql
@@ -18,9 +18,9 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.1.ddl.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.1.ddl.aql
index ebca85e..0c95714 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.1.ddl.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.1.ddl.aql
@@ -18,9 +18,9 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */
@@ -30,50 +30,50 @@ create dataverse test;
 use dataverse test;
 
 create type S as open{
-	id: int64
+    id: int64
 }
 
 create type GS as closed{
-	id: int64,
-	Genus: string,
-	lower: S
+    id: int64,
+    Genus: string,
+    lower: S
 }
 
 create type FGS as open{
-	id: int64,
-	Family: string
+    id: int64,
+    Family: string
 }
 
 create type OFGS as closed{
-	id: int64,
-	Order: string,
-	lower: FGS
+    id: int64,
+    Order: string,
+    lower: FGS
 }
 
 create type COFGS as closed{
-	id: int64,
-	Class: string,
-	lower: OFGS
+    id: int64,
+    Class: string,
+    lower: OFGS
 }
 
 create type PCOFGS as closed{
-	id: int64,
-	Phylum: string,
-	lower: COFGS
+    id: int64,
+    Phylum: string,
+    lower: COFGS
 }
 
 create type KPCOFGS as open{
-	id: int64,
-	Kingdom: string
+    id: int64,
+    Kingdom: string
 }
 
 create type Classification as closed{
-	id: int64,
-	fullClassification:KPCOFGS
+    id: int64,
+    fullClassification:KPCOFGS
 }
 
 create type Animal as open{
-	id: int64
+    id: int64
 }
 
 

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.2.update.aql
index 08db698..e7424a4 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.2.update.aql
@@ -18,97 +18,97 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */
 use dataverse test;
 
 insert into dataset Ss(
-	{"id":1,"Species":"Gulo"}
+    {"id":1,"Species":"Gulo"}
 );
 insert into dataset Ss(
-	{"id":2,"Species":"Johnstoni"}
+    {"id":2,"Species":"Johnstoni"}
 );
 insert into dataset GSs(
-	for $S in dataset Ss
-	where $S.Species = "Gulo"
-	return {"id":1,"Genus":"Gulo","lower":$S}
+    for $S in dataset Ss
+    where $S.Species = "Gulo"
+    return {"id":1,"Genus":"Gulo","lower":$S}
 );
 insert into dataset GSs(
-	for $S in dataset Ss
-	where $S.Species = "Johnstoni"
-	return {"id":2,"Genus":"Okapia","lower":$S}
+    for $S in dataset Ss
+    where $S.Species = "Johnstoni"
+    return {"id":2,"Genus":"Okapia","lower":$S}
 );
 insert into dataset FGSs(
-	for $S in dataset GSs
-	where $S.lower.Species = "Gulo"
-	return {"id":1,"Family":"Mustelinae","lower":$S}
+    for $S in dataset GSs
+    where $S.lower.Species = "Gulo"
+    return {"id":1,"Family":"Mustelinae","lower":$S}
 );
 insert into dataset FGSs(
-	for $S in dataset GSs
-	where $S.lower.Species = "Johnstoni"
-	return {"id":2,"Family":"Giraffidae","lower":$S}
+    for $S in dataset GSs
+    where $S.lower.Species = "Johnstoni"
+    return {"id":2,"Family":"Giraffidae","lower":$S}
 );
 insert into dataset OFGSs(
-	for $S in dataset FGSs
-	where $S.lower.lower.Species = "Gulo"
-	return {"id":1,"Order":"Carnivora","lower":$S}
+    for $S in dataset FGSs
+    where $S.lower.lower.Species = "Gulo"
+    return {"id":1,"Order":"Carnivora","lower":$S}
 );
 insert into dataset OFGSs(
-	for $S in dataset FGSs
-	where $S.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Order":"Artiodactyla","lower":$S}
+    for $S in dataset FGSs
+    where $S.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Order":"Artiodactyla","lower":$S}
 );
 insert into dataset COFGSs(
-	for $S in dataset OFGSs
-	where $S.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Class":"Mammalia","lower":$S}
+    for $S in dataset OFGSs
+    where $S.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Class":"Mammalia","lower":$S}
 );
 insert into dataset COFGSs(
-	for $S in dataset OFGSs
-	where $S.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Class":"Mammalia","lower":$S}
+    for $S in dataset OFGSs
+    where $S.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Class":"Mammalia","lower":$S}
 );
 insert into dataset PCOFGSs(
-	for $S in dataset COFGSs
-	where $S.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Phylum":"Chordata","lower":$S}
+    for $S in dataset COFGSs
+    where $S.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Phylum":"Chordata","lower":$S}
 );
 insert into dataset PCOFGSs(
-	for $S in dataset COFGSs
-	where $S.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Phylum":"Chordata","lower":$S}
+    for $S in dataset COFGSs
+    where $S.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Phylum":"Chordata","lower":$S}
 );
 insert into dataset KPCOFGSs(
-	for $S in dataset PCOFGSs
-	where $S.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"Kingdom":"Animalia","lower":$S}
+    for $S in dataset PCOFGSs
+    where $S.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"Kingdom":"Animalia","lower":$S}
 );
 insert into dataset KPCOFGSs(
-	for $S in dataset PCOFGSs
-	where $S.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"Kingdom":"Animalia","lower":$S}
+    for $S in dataset PCOFGSs
+    where $S.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"Kingdom":"Animalia","lower":$S}
 );
 insert into dataset Classifications(
-	for $S in dataset KPCOFGSs
-	where $S.lower.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"fullClassification":$S}
+    for $S in dataset KPCOFGSs
+    where $S.lower.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"fullClassification":$S}
 );
 insert into dataset Classifications(
-	for $S in dataset KPCOFGSs
-	where $S.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"fullClassification":$S}
+    for $S in dataset KPCOFGSs
+    where $S.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"fullClassification":$S}
 );
 insert into dataset Animals(
-	for $S in dataset Classifications
-	where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Gulo"
-	return {"id":1,"class":$S}
+    for $S in dataset Classifications
+    where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Gulo"
+    return {"id":1,"class":$S}
 );
 insert into dataset Animals(
-	for $S in dataset Classifications
-	where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
-	return {"id":2,"class":$S}
+    for $S in dataset Classifications
+    where $S.fullClassification.lower.lower.lower.lower.lower.lower.Species = "Johnstoni"
+    return {"id":2,"class":$S}
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.3.query.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.3.query.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.3.query.aql
index 66573b7..921d116 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.3.query.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/highly-open-highly-nested/bottom-open-top-open/bottom-open-top-open.3.query.aql
@@ -18,9 +18,9 @@
  */
 /*
 * Description  : Create a highly nested datastructure that uses opened and closed datasets
-				at different levels. Use open-nested indexes at every level
-				to copy from one data set upwards
-				check the final result to see if copies were successful all the way up
+                at different levels. Use open-nested indexes at every level
+                to copy from one data set upwards
+                check the final result to see if copies were successful all the way up
 * Expected Res : Success
 * Date         : 20 Oct 2014
 */

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/btree-secondary-equi-join/btree-secondary-equi-join.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/btree-secondary-equi-join/btree-secondary-equi-join.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/btree-secondary-equi-join/btree-secondary-equi-join.2.update.aql
index f0afd00..ec6aaf8 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/btree-secondary-equi-join/btree-secondary-equi-join.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/btree-secondary-equi-join/btree-secondary-equi-join.2.update.aql
@@ -35,30 +35,30 @@ using localfs
 
 
 insert into dataset DBLP(
-	for $x in dataset DBLPtmp
-		where ($x.id<50)
-		return {
-			"nested" : $x
-		}
+    for $x in dataset DBLPtmp
+        where ($x.id<50)
+        return {
+            "nested" : $x
+        }
 );
 
 insert into dataset DBLP(
-	for $x in dataset DBLPtmp
-		where ($x.id>=50)
-		return {
-					"nested" : {
-						"id": $x.id,
-						"dblpid": $x.dblpid,
-						"title": $x.title,
-						"misc": $x.misc
-					}
-				}
+    for $x in dataset DBLPtmp
+        where ($x.id>=50)
+        return {
+                    "nested" : {
+                        "id": $x.id,
+                        "dblpid": $x.dblpid,
+                        "title": $x.title,
+                        "misc": $x.misc
+                    }
+                }
 );
 
 insert into dataset CSX
 (
-	for $c in dataset('CSXtmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('CSXtmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-edit-distance-inline/ngram-edit-distance-inline.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-edit-distance-inline/ngram-edit-distance-inline.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-edit-distance-inline/ngram-edit-distance-inline.2.update.aql
index 756de89..bfd8869 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-edit-distance-inline/ngram-edit-distance-inline.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-edit-distance-inline/ngram-edit-distance-inline.2.update.aql
@@ -35,32 +35,32 @@ using localfs
 
 insert into dataset Customers
 (
-	for $c in dataset('Customerstmp')
-	where $c.cid < 500
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Customerstmp')
+    where $c.cid < 500
+    return {
+        "nested" : $c
+    }
 );
 
 insert into dataset Customers
 (
-	for $c in dataset('Customerstmp')
-	where $c.cid >= 500
-	return {
-		"nested" : {
-			"cid": $c.cid,
-			"age": $c.age,
-			"address": $c.address,
-			"interests": $c.interests,
-			"children": $c.children
-		}
-	}	
+    for $c in dataset('Customerstmp')
+    where $c.cid >= 500
+    return {
+        "nested" : {
+            "cid": $c.cid,
+            "age": $c.age,
+            "address": $c.address,
+            "interests": $c.interests,
+            "children": $c.children
+        }
+    }
 );
 
 insert into dataset Customers2
 (
-	for $c in dataset('Customers2tmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Customers2tmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-edit-distance/ngram-edit-distance.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-edit-distance/ngram-edit-distance.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-edit-distance/ngram-edit-distance.2.update.aql
index 3cf549b..96fb873 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-edit-distance/ngram-edit-distance.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-edit-distance/ngram-edit-distance.2.update.aql
@@ -34,32 +34,32 @@ using localfs
 
 insert into dataset Customers
 (
-	for $c in dataset('Customerstmp')
-	where $c.cid < 500
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Customerstmp')
+    where $c.cid < 500
+    return {
+        "nested" : $c
+    }
 );
 
 insert into dataset Customers
 (
-	for $c in dataset('Customerstmp')
-	where $c.cid >= 500
-	return {
-		"nested" : {
-			"cid": $c.cid,
-			"age": $c.age,
-			"address": $c.address,
-			"interests": $c.interests,
-			"children": $c.children
-		}
-	}	
+    for $c in dataset('Customerstmp')
+    where $c.cid >= 500
+    return {
+        "nested" : {
+            "cid": $c.cid,
+            "age": $c.age,
+            "address": $c.address,
+            "interests": $c.interests,
+            "children": $c.children
+        }
+    }
 );
 
 insert into dataset Customers2
 (
-	for $c in dataset('Customers2tmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('Customers2tmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-jaccard-inline/ngram-jaccard-inline.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-jaccard-inline/ngram-jaccard-inline.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-jaccard-inline/ngram-jaccard-inline.2.update.aql
index a5cd372..0f785ab 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-jaccard-inline/ngram-jaccard-inline.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-jaccard-inline/ngram-jaccard-inline.2.update.aql
@@ -35,29 +35,29 @@ using localfs
 
 
 insert into dataset DBLP(
-	for $x in dataset DBLPtmp
-		where ($x.id<50)
-		return {
-			"nested" : $x
-		}
+    for $x in dataset DBLPtmp
+        where ($x.id<50)
+        return {
+            "nested" : $x
+        }
 );
 
 insert into dataset DBLP(
-	for $x in dataset DBLPtmp
-		where ($x.id>=50)
-		return {
-					"nested" : {
-						"id": $x.id,
-						"dblpid": $x.dblpid,
-						"authors": $x.title,
-						"misc": $x.misc
-					}
-				}
+    for $x in dataset DBLPtmp
+        where ($x.id>=50)
+        return {
+                    "nested" : {
+                        "id": $x.id,
+                        "dblpid": $x.dblpid,
+                        "authors": $x.title,
+                        "misc": $x.misc
+                    }
+                }
 );
 
 insert into dataset CSX(
-	for $x in dataset CSXtmp
-	return {
-		"nested": $x
-	}
+    for $x in dataset CSXtmp
+    return {
+        "nested": $x
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-jaccard/ngram-jaccard.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-jaccard/ngram-jaccard.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-jaccard/ngram-jaccard.2.update.aql
index 219f80f..56cf466 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-jaccard/ngram-jaccard.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/ngram-jaccard/ngram-jaccard.2.update.aql
@@ -34,29 +34,29 @@ using localfs
 
 
 insert into dataset DBLP(
-	for $x in dataset DBLPtmp
-		where ($x.id<50)
-		return {
-			"nested" : $x
-		}
+    for $x in dataset DBLPtmp
+        where ($x.id<50)
+        return {
+            "nested" : $x
+        }
 );
 
 insert into dataset DBLP(
-	for $x in dataset DBLPtmp
-		where ($x.id>=50)
-		return {
-					"nested" : {
-						"id": $x.id,
-						"dblpid": $x.dblpid,
-						"authors": $x.title,
-						"misc": $x.misc
-					}
-				}
+    for $x in dataset DBLPtmp
+        where ($x.id>=50)
+        return {
+                    "nested" : {
+                        "id": $x.id,
+                        "dblpid": $x.dblpid,
+                        "authors": $x.title,
+                        "misc": $x.misc
+                    }
+                }
 );
 
 insert into dataset CSX(
-	for $x in dataset CSXtmp
-	return {
-		"nested": $x
-	}
+    for $x in dataset CSXtmp
+    return {
+        "nested": $x
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/rtree-spatial-intersect-point/rtree-spatial-intersect-point.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/rtree-spatial-intersect-point/rtree-spatial-intersect-point.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/rtree-spatial-intersect-point/rtree-spatial-intersect-point.2.update.aql
index bdb0c54..16d3105 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/rtree-spatial-intersect-point/rtree-spatial-intersect-point.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/rtree-spatial-intersect-point/rtree-spatial-intersect-point.2.update.aql
@@ -18,7 +18,7 @@
  */
 /*
  * Description    : Joins two datasets on the intersection of their point attributes.
- *                  The dataset 'MyData1' has an open enforced RTree index, and we expect the 
+ *                  The dataset 'MyData1' has an open enforced RTree index, and we expect the
  *                  join to be transformed into an indexed nested-loop join.
  * Success        : Yes
  */
@@ -35,35 +35,35 @@ using localfs
 
 insert into dataset MyData1
 (
-	for $c in dataset('MyData1tmp')
-	where $c.id < 10
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('MyData1tmp')
+    where $c.id < 10
+    return {
+        "nested" : $c
+    }
 );
 
 insert into dataset MyData1
 (
-	for $c in dataset('MyData1tmp')
-	where $c.id >= 10
-	return {
-		"nested" : {
-			"id": $c.id,
-			"kwds": $c.kwds,
-			"line1": $c.line1,
-			"line2": $c.line2,
-			"poly1": $c.poly1,
-			"poly2": $c.poly2,
-			"rec": $c.rec,
-			"circle": $c.circle
-		}
-	}	
+    for $c in dataset('MyData1tmp')
+    where $c.id >= 10
+    return {
+        "nested" : {
+            "id": $c.id,
+            "kwds": $c.kwds,
+            "line1": $c.line1,
+            "line2": $c.line2,
+            "poly1": $c.poly1,
+            "poly2": $c.poly2,
+            "rec": $c.rec,
+            "circle": $c.circle
+        }
+    }
 );
 
 insert into dataset MyData2
 (
-	for $c in dataset('MyData2tmp')
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('MyData2tmp')
+    return {
+        "nested" : $c
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/word-jaccard-inline/word-jaccard-inline.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/word-jaccard-inline/word-jaccard-inline.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/word-jaccard-inline/word-jaccard-inline.2.update.aql
index f9c354d..f40ac5b 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/word-jaccard-inline/word-jaccard-inline.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/word-jaccard-inline/word-jaccard-inline.2.update.aql
@@ -35,29 +35,29 @@ using localfs
 
 
 insert into dataset DBLP(
-	for $x in dataset DBLPtmp
-		where ($x.id<50)
-		return {
-			"nested" : $x
-		}
+    for $x in dataset DBLPtmp
+        where ($x.id<50)
+        return {
+            "nested" : $x
+        }
 );
 
 insert into dataset DBLP(
-	for $x in dataset DBLPtmp
-		where ($x.id>=50)
-		return {
-					"nested" : {
-						"id": $x.id,
-						"dblpid": $x.dblpid,
-						"authors": $x.title,
-						"misc": $x.misc
-					}
-				}
+    for $x in dataset DBLPtmp
+        where ($x.id>=50)
+        return {
+                    "nested" : {
+                        "id": $x.id,
+                        "dblpid": $x.dblpid,
+                        "authors": $x.title,
+                        "misc": $x.misc
+                    }
+                }
 );
 
 insert into dataset CSX(
-	for $x in dataset CSXtmp
-	return {
-		"nested": $x
-	}
+    for $x in dataset CSXtmp
+    return {
+        "nested": $x
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/word-jaccard/word-jaccard.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/word-jaccard/word-jaccard.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/word-jaccard/word-jaccard.2.update.aql
index abeabfd..7a533a4 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/word-jaccard/word-jaccard.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-join/word-jaccard/word-jaccard.2.update.aql
@@ -34,29 +34,29 @@ using localfs
 
 
 insert into dataset DBLP(
-	for $x in dataset DBLPtmp
-		where ($x.id<50)
-		return {
-			"nested" : $x
-		}
+    for $x in dataset DBLPtmp
+        where ($x.id<50)
+        return {
+            "nested" : $x
+        }
 );
 
 insert into dataset DBLP(
-	for $x in dataset DBLPtmp
-		where ($x.id>=50)
-		return {
-					"nested" : {
-						"id": $x.id,
-						"dblpid": $x.dblpid,
-						"authors": $x.title,
-						"misc": $x.misc
-					}
-				}
+    for $x in dataset DBLPtmp
+        where ($x.id>=50)
+        return {
+                    "nested" : {
+                        "id": $x.id,
+                        "dblpid": $x.dblpid,
+                        "authors": $x.title,
+                        "misc": $x.misc
+                    }
+                }
 );
 
 insert into dataset CSX(
-	for $x in dataset CSXtmp
-	return {
-		"nested": $x
-	}
+    for $x in dataset CSXtmp
+    return {
+        "nested": $x
+    }
 );

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-leftouterjoin/probe-pidx-with-join-btree-sidx1/probe-pidx-with-join-btree-sidx1.1.ddl.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-leftouterjoin/probe-pidx-with-join-btree-sidx1/probe-pidx-with-join-btree-sidx1.1.ddl.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-leftouterjoin/probe-pidx-with-join-btree-sidx1/probe-pidx-with-join-btree-sidx1.1.ddl.aql
index 0a98de5..b33de4d 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-leftouterjoin/probe-pidx-with-join-btree-sidx1/probe-pidx-with-join-btree-sidx1.1.ddl.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-leftouterjoin/probe-pidx-with-join-btree-sidx1/probe-pidx-with-join-btree-sidx1.1.ddl.aql
@@ -28,26 +28,26 @@ create dataverse test;
 use dataverse test;
 
 create type TwitterUserType as closed {
-	screen-name: string,
-	lang: string,
-	friends-count: int64,
-	statuses-count: int64,
-	name: string,
-	followers-count: int64
+    screen-name: string,
+    lang: string,
+    friends-count: int64,
+    statuses-count: int64,
+    name: string,
+    followers-count: int64
 }
 
 create type TweetMessageNestedType as open {
-	tweetid: int64,
+    tweetid: int64,
         user: TwitterUserType,
         sender-location: point,
-	send-time: datetime,
+    send-time: datetime,
         referred-topics: {{ string }},
-	message-text: string,
-	countA: int64
+    message-text: string,
+    countA: int64
 }
 
 create type TweetMessageType as closed {
-	nested: TweetMessageNestedType
+    nested: TweetMessageNestedType
 }
 
 create dataset TweetMessages(TweetMessageType)

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/d6cf641a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-leftouterjoin/probe-pidx-with-join-btree-sidx1/probe-pidx-with-join-btree-sidx1.2.update.aql
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-leftouterjoin/probe-pidx-with-join-btree-sidx1/probe-pidx-with-join-btree-sidx1.2.update.aql b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-leftouterjoin/probe-pidx-with-join-btree-sidx1/probe-pidx-with-join-btree-sidx1.2.update.aql
index 6f9deaf..25e4432 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-leftouterjoin/probe-pidx-with-join-btree-sidx1/probe-pidx-with-join-btree-sidx1.2.update.aql
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries/nested-open-index/index-leftouterjoin/probe-pidx-with-join-btree-sidx1/probe-pidx-with-join-btree-sidx1.2.update.aql
@@ -31,26 +31,26 @@ using localfs
 
 insert into dataset TweetMessages
 (
-	for $c in dataset('TweetMessagesTmp')
-	where $c.tweetid < int64("125")
-	return {
-		"nested" : $c
-	}	
+    for $c in dataset('TweetMessagesTmp')
+    where $c.tweetid < int64("125")
+    return {
+        "nested" : $c
+    }
 );
 
 insert into dataset TweetMessages
 (
-	for $c in dataset('TweetMessagesTmp')
-	where $c.tweetid >= int64("125")
-	return {
-		"nested" : {
-				"tweetid": $c.tweetid,
-				"user": $c.user,
-				"sender-location": $c.sender-location,
-				"send-time": $c.send-time,
-				"referred-topics": $c.referred-topics,
-				"message-text": $c.message-text,
-				"countA": $c.countA
-			}
-	}	
+    for $c in dataset('TweetMessagesTmp')
+    where $c.tweetid >= int64("125")
+    return {
+        "nested" : {
+                "tweetid": $c.tweetid,
+                "user": $c.user,
+                "sender-location": $c.sender-location,
+                "send-time": $c.send-time,
+                "referred-topics": $c.referred-topics,
+                "message-text": $c.message-text,
+                "countA": $c.countA
+            }
+    }
 );


Mime
View raw message