> On Dec. 26, 2014, 11:27 a.m., Rajat Khandelwal wrote:
> > lens-cube/src/main/java/org/apache/lens/cube/parse/GroupbyResolver.java, 
> > line 174
> > <https://reviews.apache.org/r/29422/diff/2/?file=800844#file800844line174>
> >
> >     is the case of mulltiple spaces getting covered here?

toInfixString function ensures to put only one space between as and opening 
backquote. Hence multiple spaces cannot appear here.


- Himanshu


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29422/#review66148
-----------------------------------------------------------


On Dec. 26, 2014, 12:49 p.m., Himanshu Gahlaut wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29422/
> -----------------------------------------------------------
> 
> (Updated Dec. 26, 2014, 12:49 p.m.)
> 
> 
> Review request for lens.
> 
> 
> Repository: lens
> 
> 
> Description
> -------
> 
> (1) getExpressionWithoutAlias in GroupbyResolver.class is unable to handle 
> aliases with spaces in them. Fixed the same.
> (2) Also improved log4j.properties of lens-cube to send logs to both console 
> appender and test log files. 
> (3) Used Slf4j annotation in Test classes for getting a reference to Slf4j 
> logger. Added required dependencies in lens-cube/pom.xml to facilitate the 
> same.
> 
> 
> Diffs
> -----
> 
>   lens-cube/pom.xml 1bcb4dc 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/GroupbyResolver.java 
> c2fef7e 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/HQLParser.java 8e41830 
>   lens-cube/src/test/java/org/apache/lens/cube/parse/CubeTestSetup.java 
> f515df1 
>   lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeRewriter.java 
> ad4abcf 
>   lens-cube/src/test/java/org/apache/lens/cube/parse/TestQueryRewrite.java 
> fd939e9 
>   lens-cube/src/test/resources/log4j.properties 9729de0 
> 
> Diff: https://reviews.apache.org/r/29422/diff/
> 
> 
> Testing
> -------
> 
> Added new unit test cases for the changes.
> All existing Unit Test Cases passed.
> 
> 
> Thanks,
> 
> Himanshu Gahlaut
> 
>

Reply via email to