[teiid-issues] [JBoss JIRA] (TEIID-4572) Grouping by and faceted search for Solr tranlator

Steven Hawkins (JIRA) issues at jboss.org
Wed May 24 07:28:00 EDT 2017


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

Steven Hawkins commented on TEIID-4572:
---------------------------------------

As mentioned on the original pull request, the SolrQueryExecution changes seem to have issues or need clarification:  

- There are quite a few checks for a column of type timestamp (in particular findTimestampIndex) - but it doesn't appear that there is a guarantee it will be the correct column.  That is you could easily have the gap on one field and group by another timestamp column.
- Why is adjustDateFormat needed now, but wasn't needed before?
- The this.visitor.isCountStarInUse() logic is only enabled in faceted scenario.  It looks like "select count(\*\) from tbl" won't work as expected.

I would like to see unit tests of the execution logic, or perhaps you could provide a docker image of a representative solr instance to aid in testing.



> Grouping by and faceted search for Solr tranlator
> -------------------------------------------------
>
>                 Key: TEIID-4572
>                 URL: https://issues.jboss.org/browse/TEIID-4572
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Misc. Connectors
>            Reporter: Hend Amin
>             Fix For: 10.0
>
>
> Currently group by is not supported for Solr translator. For example:
> select x,y, count\(*) from solr_core group by x,y; the corresponding Solr request does not contain group by. 
> Please add group by and faceted search support for Solr translator.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the teiid-issues mailing list