GitHub user del680202 opened a pull request:

    https://github.com/apache/zeppelin/pull/1942

    [ZEPPELIN-1982] When using the 'Select * ...' statement doesn't show …

    
    ### What is this PR for?
    In this ticket 
[ZEPPELIN-212](https://issues.apache.org/jira/browse/ZEPPELIN-212),``InterpreterOutput.java``
 will filter out '\n'.
    It causes ``tabledata.js`` couldn't recognize the comment in the 
paragraphResult. If column number of sql query exceed 2 columns and row number 
over ``maxResult`` will show nothing.
    Therefore, I suppose to modify comment statement from '\n'  to 
``TABLE_COMMENT``for this issue.
    
    
    ### What type of PR is it?
    Bug Fix
    
    ### Todos
    * None
    
    ### What is the Jira issue?
    [ZEPPELIN-1982](https://issues.apache.org/jira/browse/ZEPPELIN-1982)
    
    
    ### How should this be tested?
    try  to execute ``%sql  SELECT * FROM bank`` on  tutorial
    
    ### Screenshots (if appropriate)
    Before
    ![2017-01-25 14 49 
40](https://cloud.githubusercontent.com/assets/3747345/22279334/8b3e6642-e30d-11e6-9e20-d6da015f016b.png)
    
    After
    ![Uploading スクリーンショット 2017-01-25 14.48.59.png…]()
    
    
    ### Questions:
    * Does the licenses files need update?
    * Is there breaking changes for older versions?
    * Does this needs documentation?


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

    $ git pull https://github.com/del680202/zeppelin bug-1982

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

    https://github.com/apache/zeppelin/pull/1942.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 #1942
    
----
commit ba6aab2c391ca72ca97e1ccfa79dc368b1ad96d2
Author: Chin Tzulin <jp20316@w022341412910m.local>
Date:   2017-01-25T05:34:28Z

    [ZEPPELIN-1982] When using the 'Select * ...' statement doesn't show the 
response In %sql interpreter

----


---
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