File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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 )
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff 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://" , "" )
You can’t perform that action at this time.
0 commit comments