[teiid-issues] [JBoss JIRA] (TEIID-4467) Google translator throws exception invalid_query for GROUP BY

Steven Hawkins (JIRA) issues at jboss.org
Fri Sep 23 11:55:00 EDT 2016


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

Steven Hawkins commented on TEIID-4467:
---------------------------------------

[~lfabriko] Sorry I should have been more specific.  Google expects a non-trivial aggregate value (one that is being computed against a column not in the grouping).

> Google translator throws exception invalid_query for GROUP BY 
> --------------------------------------------------------------
>
>                 Key: TEIID-4467
>                 URL: https://issues.jboss.org/browse/TEIID-4467
>             Project: Teiid
>          Issue Type: Bug
>    Affects Versions: 8.12
>            Reporter: Lucie Fabrikova
>            Assignee: Steven Hawkins
>         Attachments: googlespreadsheet-vdb.xml, server.log
>
>
> Google translator produces following exception for a query: "SELECT IntKey FROM bqt1.SmallA GROUP BY IntKey":
> 16:27:26,955 ERROR [org.teiid.PROCESSOR] (Worker0_QueryProcessorQueue14) TEIID30019 Unexpected exception for request vn+N1XY8Atf5.6: org.teiid.resource.adapter.google.common.SpreadsheetOperationException: [invalid_query]
>         at org.teiid.resource.adapter.google.dataprotocol.GoogleDataProtocolAPI$DataProtocolQueryStrategy.executeAndParse(GoogleDataProtocolAPI.java:196)
> ...        



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


More information about the teiid-issues mailing list