File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed 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.0b29 "
3+ __version__ = "0.0b30 "
44__license__ = "Apache License 2.0"
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ def _read_csv_iterator(
183183 count += 1
184184
185185 ini -= forgotten_bytes
186- end -= 1 # Range is inclusive, contrary to Python's List
186+ end -= 1 # Range is inclusive, contrary from Python's List
187187 bytes_range = "bytes={}-{}" .format (ini , end )
188188 logger .debug (f"bytes_range: { bytes_range } " )
189189 body = client_s3 .get_object (Bucket = bucket_name ,
@@ -403,11 +403,11 @@ def read_sql_athena(self,
403403 query = sql , database = database , s3_output = s3_output )
404404 query_response = self ._session .athena .wait_query (
405405 query_execution_id = query_execution_id )
406- if query_response . get ( "QueryExecution" ). get ( "Status" ). get ( "State" ) in [
406+ if query_response [ "QueryExecution" ][ "Status" ][ "State" ] in [
407407 "FAILED" , "CANCELLED"
408408 ]:
409- reason = ( query_response . get ( "QueryExecution" ). get ( "Status" ). get (
410- "StateChangeReason" ))
409+ reason = query_response [ "QueryExecution" ][ "Status" ][
410+ "StateChangeReason" ]
411411 message_error = f"Query error: { reason } "
412412 raise AthenaQueryError (message_error )
413413 else :
Original file line number Diff line number Diff line change 2222 exclude = ["tests" ]),
2323 python_requires = ">=3.6" ,
2424 install_requires = [
25- "pyarrow>=0.14.1 " ,
25+ "pyarrow>=0.14.0 " ,
2626 "pandas>=0.24.2" ,
2727 "boto3>=1.9.130" ,
2828 "s3fs>=0.3.1" ,
You can’t perform that action at this time.
0 commit comments