GitHub user karup1990 opened a pull request:

    https://github.com/apache/incubator-zeppelin/pull/695

    ZEPPELiN-654 Improvement to SparkSqlInterpreter

    ### What is this PR for?
    Improve performance of Sparksqlinterpreter
    Use StringBuilder instead of String when building the results returned by 
SparksqlInterpreter 
    
    ### What type of PR is it?
    Improvement
    
    ### Todos
    NA
    
    ### Is there a relevant Jira issue?
    
    ### How should this be tested?
    Try to run a Sparksql command that returns large number of rows(make sure 
`zeppelin.spark.maxResult` is set to a larger value) with and without fix.
    Keep note of the time taken in each case.
    The time taken with this change  is significantly lesser.
    
    ### Screenshots (if appropriate) 
    NA
    
    ### Questions:
    * Does the licenses files need update?  No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/karup1990/incubator-zeppelin sqlc-imp

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-zeppelin/pull/695.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 #695
    
----
commit 11789e832ccc2c1fff8f34afa35ea13661f80eac
Author: karuppayya <karuppayya1...@gmail.com>
Date:   2016-02-04T13:08:46Z

    use stringbuilder instead of string

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to