You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2020/04/21 05:31:37 UTC
[GitHub] [zeppelin] zjffdu opened a new pull request #3742: Zeppelin 4764
zjffdu opened a new pull request #3742:
URL: https://github.com/apache/zeppelin/pull/3742
### What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - https://zeppelin.apache.org/contribution/contributions.html
### What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]
### Todos
* [ ] - Task
### What is the Jira issue?
* Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
* Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg. [ZEPPELIN-533]
### How should this be tested?
* First time? Setup Travis CI as described on https://zeppelin.apache.org/contribution/contributions.html#continuous-integration
* Strongly recommended: add automated unit tests for any new or changed behavior
* Outline any manual steps to test the PR here.
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update?
* Is there breaking changes for older versions?
* Does this needs documentation?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [zeppelin] zjffdu commented on a change in pull request #3742: [ZEPPELIN-4764]. Support real time dashboard for jdbc interpreter
Posted by GitBox <gi...@apache.org>.
zjffdu commented on a change in pull request #3742:
URL: https://github.com/apache/zeppelin/pull/3742#discussion_r414398864
##########
File path: jdbc/pom.xml
##########
@@ -33,6 +33,144 @@
<version>0.9.0-SNAPSHOT</version>
<name>Zeppelin: JDBC interpreter</name>
+ <properties>
+ <!--library versions-->
+ <interpreter.name>jdbc</interpreter.name>
+ <postgresql.version>9.4-1201-jdbc41</postgresql.version>
+ <hadoop.common.version>2.7.2</hadoop.common.version>
+ <h2.version>1.4.190</h2.version>
+ <commons.dbcp2.version>2.0.1</commons.dbcp2.version>
Review comment:
Yes, agree.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [zeppelin] zjffdu commented on pull request #3742: [ZEPPELIN-4764]. Support real time dashboard for jdbc interpreter
Posted by GitBox <gi...@apache.org>.
zjffdu commented on pull request #3742:
URL: https://github.com/apache/zeppelin/pull/3742#issuecomment-618883593
@alexott Thanks for your comment. The issues you mentioned make sense to me. But I think it is not related to this ticket. We could do it in another ticket. I do think we need to refactor and revisit the design of jdbc interpreter.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [zeppelin] alexott commented on a change in pull request #3742: [ZEPPELIN-4764]. Support real time dashboard for jdbc interpreter
Posted by GitBox <gi...@apache.org>.
alexott commented on a change in pull request #3742:
URL: https://github.com/apache/zeppelin/pull/3742#discussion_r414029011
##########
File path: jdbc/pom.xml
##########
@@ -33,6 +33,144 @@
<version>0.9.0-SNAPSHOT</version>
<name>Zeppelin: JDBC interpreter</name>
+ <properties>
+ <!--library versions-->
+ <interpreter.name>jdbc</interpreter.name>
+ <postgresql.version>9.4-1201-jdbc41</postgresql.version>
+ <hadoop.common.version>2.7.2</hadoop.common.version>
+ <h2.version>1.4.190</h2.version>
+ <commons.dbcp2.version>2.0.1</commons.dbcp2.version>
Review comment:
why do we use version that is released in 2014th? Maybe it makes sense to upgrade to some later version?
##########
File path: jdbc/pom.xml
##########
@@ -33,6 +33,144 @@
<version>0.9.0-SNAPSHOT</version>
<name>Zeppelin: JDBC interpreter</name>
+ <properties>
+ <!--library versions-->
+ <interpreter.name>jdbc</interpreter.name>
+ <postgresql.version>9.4-1201-jdbc41</postgresql.version>
+ <hadoop.common.version>2.7.2</hadoop.common.version>
+ <h2.version>1.4.190</h2.version>
+ <commons.dbcp2.version>2.0.1</commons.dbcp2.version>
+
+ <!--test library versions-->
+ <mockrunner.jdbc.version>1.0.8</mockrunner.jdbc.version>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>${postgresql.version}</version>
Review comment:
should it have `test` scope as well? Why we need specific JDBC artifact in Zeppelin itself?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [zeppelin] alexott commented on pull request #3742: [ZEPPELIN-4764]. Support real time dashboard for jdbc interpreter
Posted by GitBox <gi...@apache.org>.
alexott commented on pull request #3742:
URL: https://github.com/apache/zeppelin/pull/3742#issuecomment-618890105
@zjffdu I agree with that - that's why I commented only :-)
Otherwise, LGTM for me
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [zeppelin] zjffdu commented on a change in pull request #3742: [ZEPPELIN-4764]. Support real time dashboard for jdbc interpreter
Posted by GitBox <gi...@apache.org>.
zjffdu commented on a change in pull request #3742:
URL: https://github.com/apache/zeppelin/pull/3742#discussion_r414399297
##########
File path: jdbc/pom.xml
##########
@@ -33,6 +33,144 @@
<version>0.9.0-SNAPSHOT</version>
<name>Zeppelin: JDBC interpreter</name>
+ <properties>
+ <!--library versions-->
+ <interpreter.name>jdbc</interpreter.name>
+ <postgresql.version>9.4-1201-jdbc41</postgresql.version>
+ <hadoop.common.version>2.7.2</hadoop.common.version>
+ <h2.version>1.4.190</h2.version>
+ <commons.dbcp2.version>2.0.1</commons.dbcp2.version>
+
+ <!--test library versions-->
+ <mockrunner.jdbc.version>1.0.8</mockrunner.jdbc.version>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>${postgresql.version}</version>
Review comment:
I believe it is because we use postgresql by default in jdbc interpreter. This is by design I think.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org