GitHub user prabhjyotsingh reopened a pull request:

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

    [ZEPPELIN-1906] Use multiple InterpreterResult for displaying multiple JDBC 
queries

    ### What is this PR for?
    Use multiple InterpreterResult for displaying multiple JDBC queries. 
    IMO since other sql editors allows to execute multiple sql separated with 
";" and ours display mechanism being more powerful, hence, it should also allow 
the same.
    
    ### What type of PR is it?
    [Improvement]
    
    
    ### What is the Jira issue?
    * [ZEPPELIN-1906](https://issues.apache.org/jira/browse/ZEPPELIN-1906)
    
    ### How should this be tested?
    Try running following in a paragraph (with Postgres setting) and check for 
output. 
    
    ```
    %jdbc
    create table test_temp_table (id int);
    select column_name, data_type, character_maximum_length from 
INFORMATION_SCHEMA.COLUMNS where table_name = 'test_temp_table';
    SELECT table_name FROM information_schema.tables WHERE table_schema = 
'public';
    drop table test_temp_table;
    SELECT table_name FROM information_schema.tables WHERE table_schema = 
'public';
    ```
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? N/A
    * Is there breaking changes for older versions? N/A
    * Does this needs documentation? N/A


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

    $ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-1906

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

    https://github.com/apache/zeppelin/pull/1845.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 #1845
    
----
commit f5ab79687126849778809c9f1851171bacc52e15
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-01-05T05:48:29Z

    Use multiple InterpreterResult for displaying multiple JDBC queries

commit e675190ac0674086dd7d34b4f810f3b0dab0a519
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-01-05T06:52:23Z

    user same connection instead of creating new everytime

commit c096e76b1805fc5c3fea5bce1a31c0987ffae8cc
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-01-05T06:53:53Z

    remove extra empty lines

commit e6727b555c146b1209b0533414b658b9c3079a52
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-01-05T15:06:38Z

    add testcase for spliting sql.

commit f3da37f14601739219a8d771fbf3f5d0b7fce200
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-01-05T16:05:32Z

    replace regex with slightly better logic.

commit ac4663d706841c8909f9ce99fbe952d2f9c4b1ac
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-01-05T16:19:24Z

    add block comment

commit b3e742e8f60f8e5835fdd5e8aa006d0219310709
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-01-05T16:34:36Z

    fixing checkstyle-fail-build

commit f9fd5c694f132a8953bf970d1686cdef714e1bae
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-01-05T16:57:19Z

    allow last query to be without ";"

----


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