Граф коммитов

9397 Коммитов

Автор SHA1 Сообщение Дата
Johan Eklund 867bc44aca
Add type annotations to providers/vertica (#9936)
Co-authored-by: Johan Eklund <jeklund@zynga.com>
2020-07-23 03:00:24 +02:00
Kamil Breguła 33f0cd2657
apply_default keeps the function signature for mypy (#9784) 2020-07-22 22:36:27 +02:00
Kamil Breguła 39a0288a47
Add Google Authentication for experimental API (#9848) 2020-07-22 22:33:55 +02:00
Kamil Breguła 708197bf50
Improve command examples in docs (#9934) 2020-07-22 22:32:06 +02:00
Jarek Potiuk e86d753b4b
Pin github checkout action to v2 (#9938) 2020-07-22 21:18:17 +02:00
Jarek Potiuk a9c871b47c
Clean up tmp directory when exiting from breeze shell (#9930)
Since we are mountign tmp dir now to inside container, some
of the remnants of what's going on inside remains after exit.
This is particularly bad if you are using tmux (some of the
directories remaining there prevent tmux from re-run)

This change cleans up /tmp directory on exit from Breeze command.
It does it from inside container so that we clean up all
root-owned files without sudo.
2020-07-22 19:54:35 +02:00
Jarek Potiuk 7b9e8e0950
Python base image version is retrieved in the right place (#9931)
When quick-fixing Python 3.8.4 error #9820 PYTHON_BASE_IMAGE_VERSION
variable was added but it was initialized too early in Breeze and
it took the default version of Python rather than the one chosen
by --python switch. This caused the generated requirements
(locally by Breeze only) to generate wrong set of requirements
and images built locally for different python versions were
based on default Python version, not the one chosen by --python
switch.
2020-07-22 15:58:39 +02:00
Dani Hodovic ac93419d1d
Add response_filter parameter to SimpleHttpOperator (#9885) 2020-07-22 14:03:23 +02:00
retornam c2db0dfeb1
More strict rules in mypy (#9705) (#9906)
Signed-off-by: Raymond Etornam <retornam@users.noreply.github.com>
2020-07-22 13:56:02 +02:00
Beni Ben zikry 24a951e8ed
Breeze / KinD - support earlier k8s versions, fix recreate and kubectl versioning (#9905) 2020-07-22 12:24:46 +02:00
Jarek Potiuk cd160b9957
Shorter/more meaningful header for official images (#9925) 2020-07-22 11:39:59 +02:00
Stijn De Haes 1427e4acb4
Update Spark submit operator for Spark 3 support (#8730)
In spark 3 they log the exit code with a lowercase
e, in spark 2 they used an uppercase E.

Also made the exception a bit clearer when running
on kubernetes.
2020-07-22 10:12:43 +01:00
QP Hou 040fb1db02
point go client mod path to new repo (#9922)
* point go client mod path to new repo
2020-07-22 09:56:55 +02:00
Kamil Breguła 6d612efc7e
Allows to configure logging for third-party libraries (#9657) 2020-07-22 08:52:00 +02:00
chipmyersjr f60940d3ec
Add unit test for test_sql_to_gcs (#9920) 2020-07-22 08:48:31 +02:00
Jarek Potiuk ddeea33b88
Nightly tag was not pushed on scheduled run (#9924) 2020-07-22 08:35:33 +02:00
Nathan Hadfield c4244e18bb
Fix calling `get_client` in BigQueryHook.table_exists (#9916)
Adding `project_id` argument to `get_client` method 
otherwise this call always falls back to the default connection id.
2020-07-22 08:10:56 +02:00
Jarek Potiuk c460529d93
Postgres tests were skipped by mistake (#9923) 2020-07-22 08:08:47 +02:00
Jarek Potiuk 508d7d202a
Tests are cancelled if any of faster checks fail (#9917) 2020-07-22 08:05:36 +02:00
Karthikeyan Singaravelan 46e34ab4fb
Import ABC from collections.abc (#9649) 2020-07-22 02:41:30 +02:00
Kamil Breguła 719ae2bf62
Dump Pod as YAML in logs for KubernetesPodOperator (#9895) 2020-07-22 02:29:55 +02:00
BaoshanGu 8a405d25fa
[AIRFLOW-6931] Fixed migrations to find all dependencies for MSSQL (#9891) 2020-07-22 01:11:39 +02:00
Kamil Olszewski 5eacc16420
Add support for impersonation in GCP hooks (#9915)
Co-authored-by: Kamil Olszewski <kamil.olszewski@polidea.com>
2020-07-22 01:02:32 +02:00
chipmyersjr 4eddce22a3
Add typing for grpc provider (#9884) 2020-07-21 19:13:14 +02:00
Tomek Urbaszek b823f8a2e8
Use pipe pylint result to sort -u for error deduplication (#9893)
Due to an pylint issue https://github.com/PyCQA/pylint/issues/3584
single error/warning is printed multiple times when using
pylint in multiprocessing mode
2020-07-21 18:46:36 +02:00
Tomek Urbaszek bff713750f
Add function to get current context (#9631)
Support for getting current context at any code location that runs
under the scope of BaseOperator.execute function. This functionality
is part of AIP-31.

Co-authored-by: Jonathan Shir <jonathan.shir@databand.ai>
2020-07-21 18:45:09 +02:00
zikun d5d119babc
Increase typing coverage for Elasticsearch (#9911) 2020-07-21 15:54:20 +02:00
Shekhar Singh eb1aedd2df
Add unit tests for CassandraTableSensor, CassandraRecordSensor and WebHdfsSensor (#9874) 2020-07-21 14:14:29 +02:00
Tomek Urbaszek 95632ce8ed
Fix dag.clear usages after change from #9824 (#9909)
#9824 introduced changes in the signature of dag.clear(...) 
but not all occurrences of invocation were adjusted.
2020-07-21 12:47:39 +02:00
Tomek Urbaszek 7dd5c11f96
Simplify pull request template (#9896)
Remove the checklist of always checked points.
2020-07-21 12:18:07 +02:00
Tomek Urbaszek 1cfdebf5f8
Fix insert_job method of BigQueryHook (#9899)
The method should submit the job and wait for the result.
Closes: #9897
2020-07-21 12:16:21 +02:00
Tomek Urbaszek c8c52e69c8
Remove type hint causing DeprecationWarning in Firestore operators (#9819)
* Import Iterable from collections.abc in firestore operators

DeprecationWarning: Using or importing the ABCs from 'collections'
instead of from 'collections.abc' is deprecated since Python 3.3,
and in 3.9 it will stop working

* Remove the type hint
2020-07-21 07:26:59 +02:00
Ephraim Anierobi 560e0b504b
Pin google-cloud-container to <2 (#9901) 2020-07-20 22:56:37 +01:00
Kamil Breguła 3064811601
Use warning directive in deprecation warning (#9890) 2020-07-20 20:07:26 +02:00
Ryan Hamilton 273e28cc25
UX Enhancement: Separate actions from links in DAG navigation (#9894) 2020-07-20 19:05:42 +01:00
zikun 9c518fe937
TimeSensor should respect DAG timezone (#9882) 2020-07-20 17:19:08 +01:00
Kaxil Naik d7c996c6fe
Add new committers: Ry Walker & Leah Cole to project.rst (#9892) 2020-07-20 11:23:00 -04:00
morrme fc8d38d5f2
improve typing for openfaas provider (#9883)
Co-authored-by: Kamil Breguła <mik-laj@users.noreply.github.com>
2020-07-20 15:49:13 +02:00
Kamil Breguła e7c87fe453
Refactor AwsBaseHook._get_credentials (#9878) 2020-07-20 15:30:17 +02:00
Tanjin Panna 840799d559
Improve KubernetesPodOperator guide (#9079) 2020-07-20 14:56:36 +02:00
Jarek Potiuk de9eaeb434
Constraint files are now maintained automatically (#9889)
* Constraint files are now maintained automatically

* No need to generate requirements when setup.py changes
* requirements are kept in separate orphan branches not in main repo
* merges to master verify if latest requirements are working and
  push tested requirements to orphaned branches
* we keep history of requirement changes and can label them
  individually for each version (by constraint-1.10.n tag name)
* consistently changed all references to be 'constraints' not
  'requirements'
2020-07-20 14:36:03 +02:00
Kaxil Naik 84b85d8acc
Update Serialized DAGs in Webserver when DAGs are Updated (#9851)
Before this change, if DAG Serialization was enabled the Webserver would not update the DAGs once they are fetched from DB. The default worker_refresh_interval was `30` so whenever the gunicorn workers were restarted, they used to pull the updated DAGs when needed.

This change will allow us to have a larged worker_refresh_interval (e.g 30 mins or even 1 day)
2020-07-20 12:45:18 +01:00
Kaxil Naik 1a32c45126
Don't Update Serialized DAGs in DB if DAG didn't change (#9850)
We should not update the "last_updated" column unnecessarily. This is first of  few optimizations to DAG Serialization that would also aid in DAG Versioning
2020-07-20 12:31:05 +01:00
Jannik F a0bde8eb28
Make Secret Backend docs clearer about Variable & Connection View (#8913) 2020-07-20 11:22:48 +01:00
Kamil Breguła 9126f7061f
Deprecate experimental API (#9888) 2020-07-20 12:03:46 +02:00
vanka56 5013fda8f0
Add drop_partition functionality for HiveMetastoreHook (#9472) 2020-07-20 09:37:48 +02:00
morrme 89fe5feb7b
improve typing for datadog provider (#9775) 2020-07-20 05:35:06 +02:00
Ephraim Anierobi 4d74ac2111
Increase typing for Apache and http provider package (#9729) 2020-07-19 22:11:14 +02:00
Shekhar Singh 750555f261
Add guide for Cassandra Operators (#9877) 2020-07-19 21:51:59 +02:00
Rafferty Chen 46cdb0e080
Add type hinting for mongo provider (#9875) 2020-07-19 10:02:49 +02:00