You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by jo...@apache.org on 2018/03/12 18:06:04 UTC

[1/2] incubator-airflow git commit: [AIRFLOW-2206] Remove unsupported args from JdbcOperator doc

Repository: incubator-airflow
Updated Branches:
  refs/heads/master a4aa46e41 -> ac397cf71


[AIRFLOW-2206] Remove unsupported args from JdbcOperator doc

JdbcOperator's docstring has unsupported arguments and
a wrongly named argument. This PR fixes them.


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/bee4a801
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/bee4a801
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/bee4a801

Branch: refs/heads/master
Commit: bee4a801959a25a2dfaeb198247c98b32d518566
Parents: c6bdaf8
Author: Kengo Seki <se...@apache.org>
Authored: Mon Mar 12 06:35:31 2018 -0400
Committer: Kengo Seki <se...@apache.org>
Committed: Mon Mar 12 09:02:06 2018 -0400

----------------------------------------------------------------------
 airflow/operators/jdbc_operator.py | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/bee4a801/airflow/operators/jdbc_operator.py
----------------------------------------------------------------------
diff --git a/airflow/operators/jdbc_operator.py b/airflow/operators/jdbc_operator.py
index 4ec2fa0..95b0df8 100644
--- a/airflow/operators/jdbc_operator.py
+++ b/airflow/operators/jdbc_operator.py
@@ -22,16 +22,8 @@ class JdbcOperator(BaseOperator):
 
     Requires jaydebeapi.
 
-    :param jdbc_url: driver specific connection url with string variables, e.g. for exasol jdbc:exa:{0}:{1};schema={2}
-    Template vars are defined like this: {0} = hostname, {1} = port, {2} = dbschema, {3} = extra
-    :type jdbc_url: string
-    :param jdbc_driver_name: classname of the specific jdbc driver, for exasol com.exasol.jdbc.EXADriver
-    :type jdbc_driver_name: string
-    :param jdbc_driver_loc: absolute path to jdbc driver location, for example /var/exasol/exajdbc.jar
-    :type jdbc_driver_loc: string
-
-    :param conn_id: reference to a predefined database
-    :type conn_id: string
+    :param jdbc_conn_id: reference to a predefined database
+    :type jdbc_conn_id: string
     :param sql: the sql code to be executed
     :type sql: Can receive a str representing a sql statement,
         a list of str (sql statements), or reference to a template file.


[2/2] incubator-airflow git commit: Merge pull request #3122 from sekikn/AIRFLOW-2206

Posted by jo...@apache.org.
Merge pull request #3122 from sekikn/AIRFLOW-2206


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/ac397cf7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/ac397cf7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/ac397cf7

Branch: refs/heads/master
Commit: ac397cf718066c9bf2756cb7af1714b36bdd4139
Parents: a4aa46e bee4a80
Author: Joy Gao <Jo...@apache.org>
Authored: Mon Mar 12 11:05:56 2018 -0700
Committer: Joy Gao <Jo...@apache.org>
Committed: Mon Mar 12 11:05:56 2018 -0700

----------------------------------------------------------------------
 airflow/operators/jdbc_operator.py | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------