facebook/presto — pull request #1461 by AndreasPetter (2014-07-03 07:57:21+00:00)
Title: using multiple column-indexes together in a single CQL-query Cassandra

Dear @alexliu68 , dear @dain
this PR patches CassandrSplitManager to include multiple domains by using "AND". However I found a note in the code stating that "Only one indexed column predicate can be pushed down.". According to http://www.datastax.com/documentation/cql/3.0/cql/ddl/ddl_using_multiple_indexes.html multiple indexes are possible in CQL. According to https://github.com/facebook/presto/blob/master/presto-spi/src/main/java/com/facebook/presto/spi/TupleDomain.java#L39 it seems that TupleDomains can be anded. What do you think? Regards, Andi