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 2
2
3
3
> Utility belt to handle data on AWS.
4
4
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/ )
6
6
[ ![ Downloads] ( https://img.shields.io/pypi/dm/awswrangler.svg )] ( https://pypi.org/project/awswrangler/ )
7
7
[ ![ Python Version] ( https://img.shields.io/badge/python-3.6%20%7C%203.7-brightgreen.svg )] ( https://pypi.org/project/awswrangler/ )
8
8
[ ![ 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 1
1
__title__ = "awswrangler"
2
2
__description__ = "Utility belt to handle data on AWS."
3
- __version__ = "0.2.0 "
3
+ __version__ = "0.2.1 "
4
4
__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,
174
174
logger .debug (sql )
175
175
cursor .execute (sql )
176
176
177
+ connection .commit ()
178
+ logger .debug ("Load committed." )
179
+
177
180
if "mysql" in engine .lower ():
178
181
with connection .cursor () as cursor :
179
182
sql = ("-- AWS DATA WRANGLER\n "
@@ -186,9 +189,6 @@ def load_table(dataframe: pd.DataFrame,
186
189
raise AuroraLoadError (
187
190
f"Missing files to load. { num_files_loaded } files counted. { num_files + 1 } expected." )
188
191
189
- connection .commit ()
190
- logger .debug ("Load committed." )
191
-
192
192
@staticmethod
193
193
def _parse_path (path ):
194
194
path2 = path .replace ("s3://" , "" )
You can’t perform that action at this time.
0 commit comments