diff --git a/relational/optimizer.py b/relational/optimizer.py index eb2c54f..52c2f87 100644 --- a/relational/optimizer.py +++ b/relational/optimizer.py @@ -166,7 +166,7 @@ def tree(expression): '''This function parses a relational algebra expression into a tree and returns the root node using the Node class defined in this module.''' #isinstance(k,list) - pass + return node(tokenize(expression)) if __name__=="__main__":