[teiid-issues] [JBoss JIRA] (TEIID-4213) Cassandra translator: enable pushdown of aggregate functions

Steven Hawkins (JIRA) issues at jboss.org
Tue Sep 27 11:45:01 EDT 2016


    [ https://issues.jboss.org/browse/TEIID-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13299240#comment-13299240 ] 

Steven Hawkins commented on TEIID-4213:
---------------------------------------

> Come to find out whole version Teiid using is wrong

That's not entirely.  Note that the protocol version corresponds to a minimum supported Cassandra version.

> I think we need to either depend on CQL version or Cassandra version?

There's also:
 this.session.getState().getConnectedHosts().iterator().next().getCassandraVersion()

But I wasn't sure if we needed to look across all connected hosts.

> Depending upon CQL version, will give us the independence from the Server versions IMO

It's clearer for us to just stick with the paradigm of server version.


> Cassandra translator: enable pushdown of aggregate functions
> ------------------------------------------------------------
>
>                 Key: TEIID-4213
>                 URL: https://issues.jboss.org/browse/TEIID-4213
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Misc. Connectors
>    Affects Versions: 8.12.x
>            Reporter: Jan Stastny
>            Assignee: Ramesh Reddy
>            Priority: Minor
>             Fix For: 9.2
>
>
> Cassandra supports basic aggregate functions:
> MIN(),MAX(),SUM() and AVG()
> Currently Teiid doesn't push such queries.
> NOTE:In case of AVG() there is difference between the values returned from Teiid vs. Cassandra for an integer column. Cassandra returns only whole part of the number as integer, Teiid returns bigdecimal.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list