Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature delete table only #105

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename to match other func names for coherency
mshodge committed May 25, 2023
commit 36de2ca732ad9f393ad2ee3bd9c2f351a0b399f1
2 changes: 1 addition & 1 deletion pydbtools/__init__.py
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
read_sql_queries_gen,
delete_partitions_and_data,
delete_table_and_data,
delete_table_if_exists,
delete_table,
delete_temp_table,
delete_database_and_data,
save_query_to_parquet,
2 changes: 1 addition & 1 deletion pydbtools/_wrangler.py
Original file line number Diff line number Diff line change
@@ -483,7 +483,7 @@ def delete_table_and_data(table: str, database: str, boto3_session=None):


@init_athena_params(allow_boto3_session=True)
def delete_table_if_exists(table: str, database: str, boto3_session=None):
def delete_table(table: str, database: str, boto3_session=None):
"""
Deletes a table from an Athena database.