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,