Skip to content

Commit

Permalink
Adding MetastorePartitionSensor to docs
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 9b9d2bb3df5a953907e405025c169b050979190f
  • Loading branch information
mistercrunch authored and Cloud Composer Team committed Apr 10, 2020
1 parent 4c878ab commit 00bbec7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions airflow/operators/mysql_to_hive.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions docs/code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Operator API
HiveToMySqlTransfer,
SimpleHttpOperator,
HttpSensor,
MetastorePartitionSensor,
MsSqlOperator,
MsSqlToHiveTransfer,
MySqlOperator,
Expand Down

0 comments on commit 00bbec7

Please sign in to comment.