Skip to content

Commit ae2224c

Browse files
committed
Rolling back minimal Pyarrow version to 0.14.0 to be compatible with Windows OS.
1 parent 8d76041 commit ae2224c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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.0b29"
3+
__version__ = "0.0b30"
44
__license__ = "Apache License 2.0"

awswrangler/pandas.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
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",

0 commit comments

Comments
 (0)