Repository: cassandra
Updated Branches:
  refs/heads/trunk af3fe39dc -> 8c504a0b8


Fix broken SASI diagrams from PR #90

This closes #91


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8c504a0b
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8c504a0b
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8c504a0b

Branch: refs/heads/trunk
Commit: 8c504a0b8c1a61bb72673ed42ce4ae136a4c4519
Parents: af3fe39
Author: Joaquin Casares <joaq...@thelastpickle.com>
Authored: Fri Jan 27 18:24:12 2017 -0600
Committer: Michael Shuler <mich...@pbandjelly.org>
Committed: Fri Jan 27 18:50:22 2017 -0600

----------------------------------------------------------------------
 doc/SASI.md | 48 ++++++++++++++++++++++++------------------------
 1 file changed, 24 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/8c504a0b/doc/SASI.md
----------------------------------------------------------------------
diff --git a/doc/SASI.md b/doc/SASI.md
index c45eb04..f5e78ca 100644
--- a/doc/SASI.md
+++ b/doc/SASI.md
@@ -563,17 +563,17 @@ without modification, have the following tree:
                           ┌───────┐
                  ┌────────│  AND  │──────┐
                  │        └───────┘      │
-                 ▼                        ▼
+                 ▼                       ▼
               ┌───────┐             
┌──────────┐
         ┌─────│  AND  │─────┐       │age < 100 
│
         │     └───────┘     │       
└──────────┘
-        ▼                    ▼
+        ▼                   ▼
     ┌──────────┐          ┌───────┐
-    │ fname=p*  │        ┌─│  AND  │───┐
+    │ fname=p* │        ┌─│  AND  │───┐
     └──────────┘        │ 
└───────┘   │
-                         ▼              ▼
+                        ▼             ▼
                     ┌──────────┐  
┌──────────┐
-                    │fname!=pa* │  │ age > 21  │
+                    │fname!=pa*│  │ age > 21 │
                     └──────────┘  
└──────────┘
 
 
[`QueryPlan`](https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/index/sasi/plan/QueryPlan.java)
@@ -586,15 +586,15 @@ following:
                                   ┌───────┐
                          ┌────────│  AND  
│──────┐
                          │        └───────┘      │
-                         ▼                        ▼
+                         ▼                       ▼
                       ┌───────┐             
┌──────────┐
-          ┌──────────│  AND   
│────────┐   │age < 100  │
-          │           └───────┘         │   
└──────────┘
-          ▼               │              ▼
-    ┌──────────┐         │        
┌──────────┐
-    │ fname=p*  │         ▼        │ age > 21 │
-    └──────────┘   
┌──────────┐  └──────────┘
-                    │fname!=pa* │
+          ┌───────────│  AND  
│────────┐    │age < 100 │
+          │           └───────┘        │    
└──────────┘
+          ▼               │            ▼
+    ┌──────────┐          │      
┌──────────┐
+    │ fname=p* │          ▼      │ age > 21 │
+    └──────────┘    
┌──────────┐ └──────────┘
+                    │fname!=pa*│
                     └──────────┘
 
 When excluding results from the result set, using `!=`, the
@@ -608,15 +608,15 @@ tree looks like this:
 
                                    ┌───────┐
                           ┌────────│  AND  
│──────┐
-                          │        └───────┘       │
-                          ▼                         ▼
+                          │        └───────┘      │
+                          ▼                       ▼
                        ┌───────┐             
┌──────────┐
-               ┌───────│  AND  
│────────┐   │age < 100  │
-               │       └───────┘         │   
└──────────┘
-               ▼                          ▼
+               ┌───────│  AND  
│────────┐    │age < 100 │
+               │       └───────┘        │    
└──────────┘
+               ▼                        ▼
         ┌──────────────────┐         
┌──────────┐
-        │     fname=p*       │         │ age > 21  │
-        │ exclusions=[pa*]   │         └──────────┘
+        │     fname=p*     │         │ age > 21 │
+        │ exclusions=[pa*] │         └──────────┘
         └──────────────────┘
 
 The last type of optimization applied, for this query, is to merge
@@ -629,11 +629,11 @@ query:
 
                             ┌───────┐
                      ┌──────│  AND  │───────┐
-                     │      └───────┘        │
-                     ▼                        ▼
+                     │      └───────┘       │
+                     ▼                      ▼
            ┌──────────────────┐    
┌────────────────┐
-           │     fname=p*       │    │ 21 < age < 100  │
-           │ exclusions=[pa*]   │    
└────────────────┘
+           │     fname=p*     │    │ 21 < age < 100 │
+           │ exclusions=[pa*] │    
└────────────────┘
            └──────────────────┘
 
 #### Operations and Expressions

Reply via email to