Github user tzolov commented on the pull request:

    https://github.com/apache/incubator-zeppelin/pull/167#issuecomment-129441241
  
    @randerzander, while working on the `postgresql` and `geode` i had to 
consider few details (credit to @martin-g for pointing them out) that you can 
find helpful as well . 
    
    * You may want to define a maxResultRow to restrict the max number of 
result displayed or you risk to kill your zeppelin. In couple of occasions I've 
forgotten to set sql LIMIT  and managed to freeze the front end. 
    * As a safeguard you can call the close() in your open method before 
opening the connection
    * For testing use proper Mockito and MockRunner 
[PostgreSqlInterpreterTest.java](https://github.com/apache/incubator-zeppelin/blob/master/postgresql/src/test/java/org/apache/zeppelin/postgresql/PostgreSqlInterpreterTest.java)
 


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to