Salvo 'LtWorf' Tomaselli
98ac364dc7
Removed encoding string
...
Not needed in Python 3
2015-07-14 10:43:13 +02:00
Salvo 'LtWorf' Tomaselli
f5e8e442a0
Removed unused variables
2015-07-09 23:32:46 +02:00
Salvo 'LtWorf' Tomaselli
a355762fc4
Switch core module to Python3
...
The core module (the relational algebra, not the interface) is now
using Python3
Tests are passing, so it should be ok.
2015-02-19 12:42:41 +01:00
Salvo 'LtWorf' Tomaselli
556eecc118
Changed about and README to not point to galileo anymore
2013-12-27 00:31:43 +01:00
LtWorf
17452f1e0b
- migrating to unicode
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@329 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-15 21:45:33 +00:00
LtWorf
4c5915e854
- Minor changes to comments
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@313 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-08 17:04:07 +00:00
LtWorf
b4dffea5cf
- Changed header comments in modules
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@287 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-22 16:02:36 +00:00
LtWorf
ba564b55d3
- Added two more tests
...
- Simplified code of optimizations module
- Improved doc of optimization module
- Added option to get all the intermediate passages of optimization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@269 014f5005-505e-4b48-8d0a-63407b615a7c
2011-02-24 13:27:33 +00:00
LtWorf
25c4c894c2
- Fixes __eq__ method
...
- Fixes tokenization of python expressions, using python's builtin module tokenizer
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@256 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-04 13:44:25 +00:00
LtWorf
973f11f1e0
- Added doc on function signature
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@253 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-04 09:33:51 +00:00
LtWorf
6adcd221bd
Edited license
...
Desktop file in make
SQL conversion (probably will be deleted again)
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@219 014f5005-505e-4b48-8d0a-63407b615a7c
2010-02-24 00:46:58 +00:00
LtWorf
3c4b91272b
Code refactory to move the new parser into parser.py out of optimizer.py, that will still be compatible
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@190 014f5005-505e-4b48-8d0a-63407b615a7c
2009-06-09 10:36:33 +00:00
LtWorf
6524ea2d9f
replaced old compiler, using the new one also in parser.py, and bug fixed
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@189 014f5005-505e-4b48-8d0a-63407b615a7c
2009-06-09 10:22:52 +00:00
LtWorf
378ace1a2b
new relational to python compiler
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@188 014f5005-505e-4b48-8d0a-63407b615a7c
2009-06-09 10:02:07 +00:00
LtWorf
dd43097d7e
added comments
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@187 014f5005-505e-4b48-8d0a-63407b615a7c
2009-06-09 09:05:48 +00:00
LtWorf
10227d1ae7
Cleaned up code
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@184 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-26 14:00:44 +00:00
LtWorf
7b827082d6
improved futile_union_intersection_subtraction optimization. Now it works also if one of the subtrees has a selection and the other doesn't
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@183 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-26 13:39:59 +00:00
LtWorf
43766eeeae
Implemented swap_rename_projection general optimization
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@182 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-25 17:04:24 +00:00
LtWorf
d51d4bada7
fixed selection_and_product optimization. It modified the original relation
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@178 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-25 13:54:35 +00:00
LtWorf
dac465779c
Implemented swap_union_renames general optimization
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@177 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-23 08:21:43 +00:00
LtWorf
644d96dc63
fixed subsequent_renames. Now handles cycling renames and completely futile ones like renaming attribute into itself
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@176 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-22 23:08:40 +00:00
LtWorf
5e30121812
Implemented futile_union_intersection_subtraction general optimization
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@175 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-22 22:20:31 +00:00
LtWorf
8393ca93d9
extended selection_and_product to join
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@168 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 14:48:44 +00:00
LtWorf
dd15d6776b
solved another error in token->string procedure. this thing is quite hard
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@167 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 13:53:27 +00:00
LtWorf
e5e7dcddd2
fixed error that caused an infinite loop
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@166 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 13:49:43 +00:00
LtWorf
bc60be3ace
optimization on product and select working
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@165 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 13:31:25 +00:00
LtWorf
004a6bb84e
optimization on product and select working
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@164 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 13:30:19 +00:00
LtWorf
ccc8a5ee0d
modified tree. Now it is able to return the fields that an operation will return
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@163 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 12:36:01 +00:00
LtWorf
e35b85e534
removed debug prints and corrected returning of modified nodes
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@162 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 08:11:45 +00:00
LtWorf
61a94e73c0
swap_rename_select working
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@161 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 08:03:24 +00:00
LtWorf
952b31ac53
stub for swap_rename_select
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@160 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 06:38:58 +00:00
LtWorf
f273425312
finally subsequent_renames optimization is working
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@157 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-11 16:44:52 +00:00
LtWorf
04cc61d317
redoundant renames still under work... this thing is harder than i though
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@156 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-11 16:38:49 +00:00
LtWorf
9cf8cc34a1
work on progress on subsequent renames
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@155 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-08 15:42:02 +00:00
LtWorf
04e3b8e316
added __eq__ method to the tree
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@147 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-01 14:45:31 +00:00
LtWorf
444d3f9987
optimizes over and over until the tree is stabilized
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@144 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-30 18:21:50 +00:00
LtWorf
723c63641d
added optimization to push down selection when sub-expression has union, intersection or subtraction
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@142 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-30 17:39:07 +00:00
LtWorf
b694fdd99d
can generate empty nodes
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@141 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-30 17:10:05 +00:00
LtWorf
ac0d6fae85
counting changes on the tree
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@138 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 08:36:28 +00:00
LtWorf
4ba7209964
now handles more than 2 nested selections
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@137 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 07:25:39 +00:00
LtWorf
a4325679cb
removed debug prints
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@136 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 21:33:16 +00:00
LtWorf
e898eed426
added 1st optimization
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@135 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 21:11:18 +00:00
LtWorf
923ac12588
added module to contain optimizations
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@134 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 20:50:04 +00:00
LtWorf
256cd3e4ca
now using isinstance instead of that ugly thing
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@133 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 20:39:10 +00:00
LtWorf
e528a4babf
now handles futile nested parenthesis
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@132 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 20:11:25 +00:00
LtWorf
1060e9d275
implemented tree function
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@131 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 18:42:40 +00:00
LtWorf
92b5e55a75
creation of the tree completed
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@130 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 18:40:53 +00:00
LtWorf
0ff9ed22a0
converting tokenized expression into tree
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@129 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 18:21:43 +00:00
LtWorf
d872343481
added some comments
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@116 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-19 13:30:35 +00:00
LtWorf
f25959e50b
added stub for tree converter and removed redoundant and not-working parser
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@110 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-16 18:04:17 +00:00