You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/07/02 18:06:40 UTC
[GitHub] [airflow] vanka56 commented on a change in pull request #9472: Add drop_partition functionality for HiveMetastoreHook
vanka56 commented on a change in pull request #9472:
URL: https://github.com/apache/airflow/pull/9472#discussion_r449187394
##########
File path: tests/providers/apache/hive/hooks/test_hive.py
##########
@@ -383,6 +383,10 @@ def test_table_exists(self):
self.hook.table_exists(str(random.randint(1, 10000)))
)
+ def test_drop_partition(self):
+ self.assertTrue(self.hook.drop_partitions(self.table, db=self.database,
+ part_vals=[DEFAULT_DATE_DS]))
+
Review comment:
@turbaszek Yes. it uses Hivemetastore Thrift client. it does the partition from the test table set up for unit testing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org