[jira] [Commented] (ASTERIXDB-1521) Stored function body stores extra white spaces.

2016-07-24 Thread Abdullah Alamoudi (JIRA)

[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15391134#comment-15391134
 ] 

Abdullah Alamoudi commented on ASTERIXDB-1521:
--

Not yet. What was fixed is correctly capturing the function body. However, we 
don't yet remove extra white spaces.
Note that JIRA is not displaying what I typed correctly. I will edit the 
description

> Stored function body stores extra white spaces.
> ---
>
> Key: ASTERIXDB-1521
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-1521
> Project: Apache AsterixDB
>  Issue Type: Bug
>Reporter: Abdullah Alamoudi
>Assignee: Abdullah Alamoudi
>Priority: Minor
>
> when a user create a function, we store it exactly as it is.
> For example
> create function test.getFullName($fname,$lname){
> string-concat(
> [$fname,$lname]
> )
> }
> will be stored as 
> string-concat(
> [$fname,$lname]
> )
> while it can be stored as:
> string-concat([$fname,$lname])



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


[jira] [Commented] (ASTERIXDB-1521) Stored function body stores extra white spaces.

2016-07-22 Thread Till Westmann (JIRA)

[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15390445#comment-15390445
 ] 

Till Westmann commented on ASTERIXDB-1521:
--

[~amoudi], I think that you fixed this already. Is that right?

> Stored function body stores extra white spaces.
> ---
>
> Key: ASTERIXDB-1521
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-1521
> Project: Apache AsterixDB
>  Issue Type: Bug
>Reporter: Abdullah Alamoudi
>Assignee: Abdullah Alamoudi
>Priority: Minor
>
> when a user create a function, we store it exactly as it is.
> For example
> create function test.getFullName($fname,$lname){
> string-concat(
> [$fname,$lname]
> )
> }
> will be stored as 
> string-concat(
> [$fname,$lname]
> )
> while it can be stored as:
> string-concat([$fname,$lname])



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