Skip to content

Commit f31afdf

Browse files
committed
Bumping version to 0.2.1
1 parent 1ab4d96 commit f31afdf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> Utility belt to handle data on AWS.
44
5-
[![Release](https://img.shields.io/badge/release-0.2.0-brightgreen.svg)](https://pypi.org/project/awswrangler/)
5+
[![Release](https://img.shields.io/badge/release-0.2.1-brightgreen.svg)](https://pypi.org/project/awswrangler/)
66
[![Downloads](https://img.shields.io/pypi/dm/awswrangler.svg)](https://pypi.org/project/awswrangler/)
77
[![Python Version](https://img.shields.io/badge/python-3.6%20%7C%203.7-brightgreen.svg)](https://pypi.org/project/awswrangler/)
88
[![Documentation Status](https://readthedocs.org/projects/aws-data-wrangler/badge/?version=latest)](https://aws-data-wrangler.readthedocs.io/en/latest/?badge=latest)

awswrangler/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
__title__ = "awswrangler"
22
__description__ = "Utility belt to handle data on AWS."
3-
__version__ = "0.2.0"
3+
__version__ = "0.2.1"
44
__license__ = "Apache License 2.0"

awswrangler/aurora.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ def load_table(dataframe: pd.DataFrame,
174174
logger.debug(sql)
175175
cursor.execute(sql)
176176

177+
connection.commit()
178+
logger.debug("Load committed.")
179+
177180
if "mysql" in engine.lower():
178181
with connection.cursor() as cursor:
179182
sql = ("-- AWS DATA WRANGLER\n"
@@ -186,9 +189,6 @@ def load_table(dataframe: pd.DataFrame,
186189
raise AuroraLoadError(
187190
f"Missing files to load. {num_files_loaded} files counted. {num_files + 1} expected.")
188191

189-
connection.commit()
190-
logger.debug("Load committed.")
191-
192192
@staticmethod
193193
def _parse_path(path):
194194
path2 = path.replace("s3://", "")

0 commit comments

Comments
 (0)