[jira] [Commented] (LENS-800) Change rewrite to use format string around measures

2015-10-08 Thread Rajat Khandelwal (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14948521#comment-14948521
 ] 

Rajat Khandelwal commented on LENS-800:
---

Another thought is, formatting should not be a part of the rewrite. After query 
results are obtained, then ResultFormatter should be able to use java's 
String.format or [Decimal Format | 
http://docs.oracle.com/javase/6/docs/api/java/text/DecimalFormat.html] to 
format the numbers. 

> Change rewrite to use format string around measures
> ---
>
> Key: LENS-800
> URL: https://issues.apache.org/jira/browse/LENS-800
> Project: Apache Lens
>  Issue Type: Improvement
>Reporter: Rajat Khandelwal
>




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


[jira] [Commented] (LENS-800) Change rewrite to use format string around measures

2015-10-08 Thread Amruth S (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14949827#comment-14949827
 ] 

Amruth S commented on LENS-800:
---

I think ES does not have rich formatting options as such while retrieving data, 
I ll mine more to see if any workarounds are available.

> Change rewrite to use format string around measures
> ---
>
> Key: LENS-800
> URL: https://issues.apache.org/jira/browse/LENS-800
> Project: Apache Lens
>  Issue Type: Improvement
>Reporter: Rajat Khandelwal
>




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