From 7ee427b8711c6acd172fd36df0ea4ad188a4339e Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Mon, 16 Nov 2015 10:43:13 -0800 Subject: [PATCH] Adding MetastorePartitionSensor to docs GitOrigin-RevId: 9b9d2bb3df5a953907e405025c169b050979190f --- airflow/operators/mysql_to_hive.py | 5 ++--- docs/code.rst | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/airflow/operators/mysql_to_hive.py b/airflow/operators/mysql_to_hive.py index ef6ab6c20b1..1f422c1150a 100644 --- a/airflow/operators/mysql_to_hive.py +++ b/airflow/operators/mysql_to_hive.py @@ -16,9 +16,8 @@ class MySqlToHiveTransfer(BaseOperator): MySQL, stores the file locally before loading it into a Hive table. If the ``create`` or ``recreate`` arguments are set to ``True``, a ``CREATE TABLE`` and ``DROP TABLE`` statements are generated. - Hive data types are inferred from the cursor's metadata. - - Note that the table generated in Hive uses ``STORED AS textfile`` + Hive data types are inferred from the cursor's metadata. Note that the + table generated in Hive uses ``STORED AS textfile`` which isn't the most efficient serialization format. If a large amount of data is loaded and/or if the table gets queried considerably, you may want to use this operator only to diff --git a/docs/code.rst b/docs/code.rst index 82874aeb56a..75530910c81 100644 --- a/docs/code.rst +++ b/docs/code.rst @@ -61,6 +61,7 @@ Operator API HiveToMySqlTransfer, SimpleHttpOperator, HttpSensor, + MetastorePartitionSensor, MsSqlOperator, MsSqlToHiveTransfer, MySqlOperator,