[
https://issues.apache.org/jira/browse/METAMODEL-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15087273#comment-15087273
]
ASF GitHub Bot commented on METAMODEL-224:
------------------------------------------
GitHub user ardlema opened a pull request:
https://github.com/apache/metamodel/pull/85
METAMODEL-224 CONCAT function support
Second attempt of supporting the CONCAT scalar function, this time I make
it work.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ardlema/metamodel METAMODEL-224-second-attempt
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/metamodel/pull/85.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #85
----
commit 5ea5e90d99613ef94480a37ebac461c7ad05f6f8
Author: Alberto Rodriguez <[email protected]>
Date: 2015-12-18T12:08:52Z
Transform column to be an array of columns
commit 4be710e56a16f6ab9ca9c1f7f132d56aa18d1b90
Author: Alberto Rodriguez <[email protected]>
Date: 2015-12-18T12:20:07Z
Add CONCAT function
commit c26875c4fcbec429c0581ce17f8b28680bcba085
Author: Alberto Rodriguez <[email protected]>
Date: 2015-12-18T13:21:52Z
Constructor getting an array of columns
commit 605a529804aeaa6b51380149db770125a23332bd
Author: Alberto Rodriguez <[email protected]>
Date: 2015-12-21T11:45:57Z
Query parser working fine for CONCAT
commit a42ec0d1feb35285d8a92e53b81f69ffddfcf108
Author: Alberto Rodriguez <[email protected]>
Date: 2015-12-22T08:26:53Z
Return to simple column instead of array of columns in SelecItem
commit bc6e260499e58b1a8401b354e2533d45e8a00aa3
Author: Alberto Rodriguez <[email protected]>
Date: 2016-01-07T11:56:15Z
Decide whether the parameter is a string or a column to append the value
accordingly
commit 79d8023491d48f703eb1160f0da27df408026466
Author: Alberto Rodriguez <[email protected]>
Date: 2016-01-07T11:56:37Z
More complex test with 3 parameters in the CONCAT function
commit 3d7db4ef921d115607a4c3265e757a9af235bcb1
Author: Alberto Rodriguez <[email protected]>
Date: 2016-01-07T11:56:58Z
Evaluate string equality
commit 648a2f6d5f9b0e616a56e0d530fe7d2dda4aeb50
Author: Alberto Rodriguez <[email protected]>
Date: 2016-01-07T11:58:40Z
Get rid of comment
----
> Support CONCAT function
> -----------------------
>
> Key: METAMODEL-224
> URL: https://issues.apache.org/jira/browse/METAMODEL-224
> Project: Apache MetaModel
> Issue Type: New Feature
> Reporter: Alberto
> Priority: Minor
>
> As we now support scalar functions it would be great to add support for a
> CONCAT function that allow us to concatenate and append strings to the query
> results.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)