lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <>
Subject [jira] [Commented] (SOLR-8571) Wire the ConcatOperation into the SQLhandler
Date Tue, 19 Jan 2016 17:22:39 GMT


Joel Bernstein commented on SOLR-8571:

Once this is done we can support the following construct:
                                   sql="select year, month, concat('month, year', '_') as
id, sum(price) from tablex group by year, month")))

In the code above the jdbc stream is connecting to a SolrCloud and running a SQL aggregate
query which is used to update another SolrCloud collection. The daemon code will run this
in the background at intervals. The concat function creates the id field on the fly so aggregates
update properly.

> Wire the ConcatOperation into the SQLhandler
> --------------------------------------------
>                 Key: SOLR-8571
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Joel Bernstein
>            Priority: Minor
> This will support the *concat* function. Syntax:
> {code}
> select a, b, concat('a,b', '|') as c from tableX
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message