[ 
https://issues.apache.org/jira/browse/SOLR-8556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107002#comment-15107002
 ] 

Joel Bernstein commented on SOLR-8556:
--------------------------------------

The ConcatOperation will be pretty easy to wire into the SQLHandler once it's 
committed. I'll create a ticket for that.
{code}

select a,b, concat('a,b', '-') as c from tablex
{code}

> Add ConcatOperation to be used with the SelectStream
> ----------------------------------------------------
>
>                 Key: SOLR-8556
>                 URL: https://issues.apache.org/jira/browse/SOLR-8556
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>         Attachments: SOLR-8556.patch, SOLR-8556.patch
>
>
> Now that we have the UpdateStream it would be nice to support the use case of 
> sending rolled up aggregates for storage in another SolrCloud collection. To 
> support this we'll need to create id's for the aggregate records.
> The ConcatOperation would allows us to concatenate the bucket values into a 
> unique id. For example:
> {code}
> update(
>             select( 
>                          rollup(search(q="*:*, fl="a,b,c", ...)), 
>                          concat(fields="a,b,c", delim="_",  as="id")))
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to