atetrel / squiggle-sql

Automatically exported from code.google.com/p/squiggle-sql
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Possibility to avoid duplicate selection, criteria and order statments in SelectQuery #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice to avoid duplicates (equals) in the SelectQuery.
So one could just add e.g. criteria in an automatic processing and the
SelectQuery would not add an already existing criterion.
This could be easy enhanced by using e.g. a LinkedHashSet instead of the
List and by adding the missing equals and hashCode methods.

Original issue reported on code.google.com by dbac...@gmail.com on 7 Oct 2009 at 11:37

GoogleCodeExporter commented 8 years ago
This is more like a SQL post-processing optimizer. I'm not fully convinced this 
is the kind of work Squiggle should be worrying about.

Original comment by brunoabdon on 6 Aug 2010 at 4:53