Skip to content

Commit

Permalink
Remove duplicate key from Python dictionary (apache#15735)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored May 8, 2021
1 parent a01567c commit 736a62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/providers/apache/hive/hooks/hive.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ def max_partition(
:type filter_map: map
>>> hh = HiveMetastoreHook()
>>> filter_map = {'ds': '2015-01-01', 'ds': '2014-01-01'}
>>> filter_map = {'ds': '2015-01-01'}
>>> t = 'static_babynames_partitioned'
>>> hh.max_partition(schema='airflow',\
... table_name=t, field='ds', filter_map=filter_map)
Expand Down

0 comments on commit 736a62f

Please sign in to comment.