[
https://issues.jboss.org/browse/TEIID-4717?page=com.atlassian.jira.plugin...
]
Vijay K edited comment on TEIID-4717 at 1/25/17 7:44 AM:
---------------------------------------------------------
I would prefer the first option "translator to infer this hint automatically from the
index metadata on the source table".
If we can discuss and decide on the design, I can do the implementation.
was (Author: vijaynm):
I would prefer the first option "translator to infer this hint automatically from the
index metadata on the source table"
Add Support for 'ALLOW FILTERING' in Teiid Cassandra
Translator
---------------------------------------------------------------
Key: TEIID-4717
URL:
https://issues.jboss.org/browse/TEIID-4717
Project: Teiid
Issue Type: Enhancement
Components: Misc. Connectors
Reporter: Vijay K
Labels: cassandra
Fix For: 9.3
At certain times it is unavoidable to use few columns in the where clause which are not
part of the index, in that case Cassandra driver throws error
{color:red}Bad Request: Cannot execute this query as it might involve data filtering and
thus may have unpredictable performance. If you want to execute this query despite the
performance unpredictability, use ALLOW FILTERING{color}
As as user I should be able to configure the Cassandra translator to append *ALLOW
FILTERING* to the generated query (CQL)
References:
https://www.datastax.com/dev/blog/allow-filtering-explained-2
https://developer.jboss.org/thread/239011
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)