Agree with Vladimir - the second option seems to be more interesting. Guys, can we also give recommendations to user on building more effective data model? For example, can we detect dates in string or indexes on boolean fields that most probably have very low selectivity or indexed field which is mostly null for all rows (so queries with "field = null" condition will be cheaper to do with scan)?
--Yakov
