Skip to content

Commit

Permalink
Fix doc link and update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Fonseca committed Jan 26, 2021
1 parent 9b5b8bc commit d247abe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/getstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ the [`HiveMetastoreClient`](https://github.com/quintoandar/hive-metastore-client

- [`add_columns_to_table`](https://hive-metastore-client.readthedocs.io/en/latest/hive_metastore_client.html#hive_metastore_client.hive_metastore_client.HiveMetastoreClient.add_columns_to_table)
- [`drop_columns_from_table`](https://hive-metastore-client.readthedocs.io/en/latest/hive_metastore_client.html#hive_metastore_client.hive_metastore_client.HiveMetastoreClient.drop_columns_from_table)
- [`add_partitions_if_not_exists`](https://hive-metastore-client.readthedocs.io/en/latest/hive_metastore_client.html#hive_metastore_client.hive_metastore_client.HiveMetastoreClient.add_columns_to_table)
- [`add_partitions_if_not_exists`](https://hive-metastore-client.readthedocs.io/en/latest/hive_metastore_client.html#hive_metastore_client.hive_metastore_client.HiveMetastoreClient.add_partitions_if_not_exists)
4 changes: 1 addition & 3 deletions hive_metastore_client/hive_metastore_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ def add_partitions_if_not_exists(
Add partitions to a table if it does not exist.
If the user tries to add a partition twice, the method handles the
AlreadyExistsException returning false and indicating the operation
result: True for new partition values added or False when nothing
was done.
AlreadyExistsException, not raising an error.
:param db_name: database name where the table is at
:param table_name: table name which the partitions belong to
Expand Down

0 comments on commit d247abe

Please sign in to comment.