Skip to content

Commit dc555a9

Browse files
committed
Preparing release 2.16.0
1 parent a493973 commit dc555a9

21 files changed

+175
-175
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 2.15.1
2+
current_version = 2.16.0
33
commit = False
44
tag = False
55
tag_name = {new_version}
@@ -34,7 +34,7 @@ tag_name = {new_version}
3434

3535
[bumpversion:file:tutorials/001 - Introduction.ipynb]
3636

37-
[bumpversion:file:tutorials/007 - Redshift, MySQL, PostgreSQL, SQL Server.ipynb]
37+
[bumpversion:file:tutorials/007 - Redshift, MySQL, PostgreSQL, SQL Server, Oracle.ipynb]
3838

3939
[bumpversion:file:tutorials/014 - Schema Evolution.ipynb]
4040

CONTRIBUTING_COMMON_ERRORS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in ./.venv/lib/python3.7/site-
1313
Using legacy 'setup.py install' for python-Levenshtein, since package 'wheel' is not installed.
1414
Installing collected packages: awswrangler, python-Levenshtein
1515
Attempting uninstall: awswrangler
16-
Found existing installation: awswrangler 2.15.1
17-
Uninstalling awswrangler-2.15.1:
18-
Successfully uninstalled awswrangler-2.15.1
16+
Found existing installation: awswrangler 2.16.0
17+
Uninstalling awswrangler-2.16.0:
18+
Successfully uninstalled awswrangler-2.16.0
1919
Running setup.py develop for awswrangler
2020
Running setup.py install for python-Levenshtein ... error
2121
ERROR: Command errored out with exit status 1:

README.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Easy integration with Athena, Glue, Redshift, Timestream, OpenSearch, Neptune, Q
99

1010
> An [AWS Professional Service](https://aws.amazon.com/professional-services/) open source initiative | [email protected]
1111
12-
[![Release](https://img.shields.io/badge/release-2.15.1-brightgreen.svg)](https://pypi.org/project/awswrangler/)
12+
[![Release](https://img.shields.io/badge/release-2.16.0-brightgreen.svg)](https://pypi.org/project/awswrangler/)
1313
[![Python Version](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-brightgreen.svg)](https://anaconda.org/conda-forge/awswrangler)
1414
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
1515
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
@@ -24,7 +24,7 @@ Easy integration with Athena, Glue, Redshift, Timestream, OpenSearch, Neptune, Q
2424
| **[PyPi](https://pypi.org/project/awswrangler/)** | [![PyPI Downloads](https://pepy.tech/badge/awswrangler)](https://pypi.org/project/awswrangler/) | `pip install awswrangler` |
2525
| **[Conda](https://anaconda.org/conda-forge/awswrangler)** | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/awswrangler.svg)](https://anaconda.org/conda-forge/awswrangler) | `conda install -c conda-forge awswrangler` |
2626

27-
> ⚠️ **For platforms without PyArrow 3 support (e.g. [EMR](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#emr-cluster), [Glue PySpark Job](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#aws-glue-pyspark-jobs), MWAA):**<br>
27+
> ⚠️ **For platforms without PyArrow 3 support (e.g. [EMR](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#emr-cluster), [Glue PySpark Job](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#aws-glue-pyspark-jobs), MWAA):**<br>
2828
➡️ `pip install pyarrow==2 awswrangler`
2929

3030
Powered By [<img src="https://arrow.apache.org/img/arrow.png" width="200">](https://arrow.apache.org/powered_by/)
@@ -43,7 +43,7 @@ Powered By [<img src="https://arrow.apache.org/img/arrow.png" width="200">](http
4343

4444
Installation command: `pip install awswrangler`
4545

46-
> ⚠️ **For platforms without PyArrow 3 support (e.g. [EMR](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#emr-cluster), [Glue PySpark Job](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#aws-glue-pyspark-jobs), MWAA):**<br>
46+
> ⚠️ **For platforms without PyArrow 3 support (e.g. [EMR](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#emr-cluster), [Glue PySpark Job](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#aws-glue-pyspark-jobs), MWAA):**<br>
4747
➡️`pip install pyarrow==2 awswrangler`
4848

4949
```py3
@@ -97,17 +97,17 @@ FROM "sampleDB"."sampleTable" ORDER BY time DESC LIMIT 3
9797

9898
## [Read The Docs](https://aws-data-wrangler.readthedocs.io/)
9999

100-
- [**What is AWS Data Wrangler?**](https://aws-data-wrangler.readthedocs.io/en/2.15.1/what.html)
101-
- [**Install**](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html)
102-
- [PyPi (pip)](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#pypi-pip)
103-
- [Conda](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#conda)
104-
- [AWS Lambda Layer](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#aws-lambda-layer)
105-
- [AWS Glue Python Shell Jobs](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#aws-glue-python-shell-jobs)
106-
- [AWS Glue PySpark Jobs](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#aws-glue-pyspark-jobs)
107-
- [Amazon SageMaker Notebook](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#amazon-sagemaker-notebook)
108-
- [Amazon SageMaker Notebook Lifecycle](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#amazon-sagemaker-notebook-lifecycle)
109-
- [EMR](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#emr)
110-
- [From source](https://aws-data-wrangler.readthedocs.io/en/2.15.1/install.html#from-source)
100+
- [**What is AWS Data Wrangler?**](https://aws-data-wrangler.readthedocs.io/en/2.16.0/what.html)
101+
- [**Install**](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html)
102+
- [PyPi (pip)](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#pypi-pip)
103+
- [Conda](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#conda)
104+
- [AWS Lambda Layer](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#aws-lambda-layer)
105+
- [AWS Glue Python Shell Jobs](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#aws-glue-python-shell-jobs)
106+
- [AWS Glue PySpark Jobs](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#aws-glue-pyspark-jobs)
107+
- [Amazon SageMaker Notebook](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#amazon-sagemaker-notebook)
108+
- [Amazon SageMaker Notebook Lifecycle](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#amazon-sagemaker-notebook-lifecycle)
109+
- [EMR](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#emr)
110+
- [From source](https://aws-data-wrangler.readthedocs.io/en/2.16.0/install.html#from-source)
111111
- [**Tutorials**](https://github.com/awslabs/aws-data-wrangler/tree/main/tutorials)
112112
- [001 - Introduction](https://github.com/awslabs/aws-data-wrangler/blob/main/tutorials/001%20-%20Introduction.ipynb)
113113
- [002 - Sessions](https://github.com/awslabs/aws-data-wrangler/blob/main/tutorials/002%20-%20Sessions.ipynb)
@@ -142,29 +142,29 @@ FROM "sampleDB"."sampleTable" ORDER BY time DESC LIMIT 3
142142
- [031 - OpenSearch](https://github.com/awslabs/aws-data-wrangler/blob/main/tutorials/031%20-%20OpenSearch.ipynb)
143143
- [032 - Lake Formation Governed Tables](https://github.com/awslabs/aws-data-wrangler/blob/main/tutorials/032%20-%20Lake%20Formation%20Governed%20Tables.ipynb)
144144
- [033 - Amazon Neptune](https://github.com/awslabs/aws-data-wrangler/blob/main/tutorials/033%20-%20Amazon%20Neptune.ipynb)
145-
- [**API Reference**](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html)
146-
- [Amazon S3](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#amazon-s3)
147-
- [AWS Glue Catalog](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#aws-glue-catalog)
148-
- [Amazon Athena](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#amazon-athena)
149-
- [AWS Lake Formation](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#aws-lake-formation)
150-
- [Amazon Redshift](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#amazon-redshift)
151-
- [PostgreSQL](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#postgresql)
152-
- [MySQL](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#mysql)
153-
- [SQL Server](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#sqlserver)
154-
- [Oracle](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#oracle)
155-
- [Data API Redshift](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#data-api-redshift)
156-
- [Data API RDS](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#data-api-rds)
157-
- [OpenSearch](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#opensearch)
158-
- [Amazon Neptune](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#amazon-neptune)
159-
- [DynamoDB](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#dynamodb)
160-
- [Amazon Timestream](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#amazon-timestream)
161-
- [Amazon EMR](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#amazon-emr)
162-
- [Amazon CloudWatch Logs](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#amazon-cloudwatch-logs)
163-
- [Amazon Chime](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#amazon-chime)
164-
- [Amazon QuickSight](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#amazon-quicksight)
165-
- [AWS STS](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#aws-sts)
166-
- [AWS Secrets Manager](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#aws-secrets-manager)
167-
- [Global Configurations](https://aws-data-wrangler.readthedocs.io/en/2.15.1/api.html#global-configurations)
145+
- [**API Reference**](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html)
146+
- [Amazon S3](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#amazon-s3)
147+
- [AWS Glue Catalog](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#aws-glue-catalog)
148+
- [Amazon Athena](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#amazon-athena)
149+
- [AWS Lake Formation](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#aws-lake-formation)
150+
- [Amazon Redshift](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#amazon-redshift)
151+
- [PostgreSQL](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#postgresql)
152+
- [MySQL](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#mysql)
153+
- [SQL Server](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#sqlserver)
154+
- [Oracle](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#oracle)
155+
- [Data API Redshift](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#data-api-redshift)
156+
- [Data API RDS](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#data-api-rds)
157+
- [OpenSearch](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#opensearch)
158+
- [Amazon Neptune](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#amazon-neptune)
159+
- [DynamoDB](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#dynamodb)
160+
- [Amazon Timestream](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#amazon-timestream)
161+
- [Amazon EMR](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#amazon-emr)
162+
- [Amazon CloudWatch Logs](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#amazon-cloudwatch-logs)
163+
- [Amazon Chime](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#amazon-chime)
164+
- [Amazon QuickSight](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#amazon-quicksight)
165+
- [AWS STS](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#aws-sts)
166+
- [AWS Secrets Manager](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#aws-secrets-manager)
167+
- [Global Configurations](https://aws-data-wrangler.readthedocs.io/en/2.16.0/api.html#global-configurations)
168168
- [**License**](https://github.com/awslabs/aws-data-wrangler/blob/main/LICENSE.txt)
169169
- [**Contributing**](https://github.com/awslabs/aws-data-wrangler/blob/main/CONTRIBUTING.md)
170170
- [**Legacy Docs** (pre-1.0.0)](https://aws-data-wrangler.readthedocs.io/en/0.3.3/)

awswrangler/__metadata__.py

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

88
__title__: str = "awswrangler"
99
__description__: str = "Pandas on AWS."
10-
__version__: str = "2.15.1"
10+
__version__: str = "2.16.0"
1111
__license__: str = "Apache License 2.0"

awswrangler/athena/_read.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -591,11 +591,11 @@ def read_sql_query(
591591
592592
**Related tutorial:**
593593
594-
- `Amazon Athena <https://aws-data-wrangler.readthedocs.io/en/2.15.1/
594+
- `Amazon Athena <https://aws-data-wrangler.readthedocs.io/en/2.16.0/
595595
tutorials/006%20-%20Amazon%20Athena.html>`_
596-
- `Athena Cache <https://aws-data-wrangler.readthedocs.io/en/2.15.1/
596+
- `Athena Cache <https://aws-data-wrangler.readthedocs.io/en/2.16.0/
597597
tutorials/019%20-%20Athena%20Cache.html>`_
598-
- `Global Configurations <https://aws-data-wrangler.readthedocs.io/en/2.15.1/
598+
- `Global Configurations <https://aws-data-wrangler.readthedocs.io/en/2.16.0/
599599
tutorials/021%20-%20Global%20Configurations.html>`_
600600
601601
**There are three approaches available through ctas_approach and unload_approach parameters:**
@@ -659,7 +659,7 @@ def read_sql_query(
659659
/athena.html#Athena.Client.get_query_execution>`_ .
660660
661661
For a practical example check out the
662-
`related tutorial <https://aws-data-wrangler.readthedocs.io/en/2.15.1/
662+
`related tutorial <https://aws-data-wrangler.readthedocs.io/en/2.16.0/
663663
tutorials/024%20-%20Athena%20Query%20Metadata.html>`_!
664664
665665
@@ -903,11 +903,11 @@ def read_sql_table(
903903
904904
**Related tutorial:**
905905
906-
- `Amazon Athena <https://aws-data-wrangler.readthedocs.io/en/2.15.1/
906+
- `Amazon Athena <https://aws-data-wrangler.readthedocs.io/en/2.16.0/
907907
tutorials/006%20-%20Amazon%20Athena.html>`_
908-
- `Athena Cache <https://aws-data-wrangler.readthedocs.io/en/2.15.1/
908+
- `Athena Cache <https://aws-data-wrangler.readthedocs.io/en/2.16.0/
909909
tutorials/019%20-%20Athena%20Cache.html>`_
910-
- `Global Configurations <https://aws-data-wrangler.readthedocs.io/en/2.15.1/
910+
- `Global Configurations <https://aws-data-wrangler.readthedocs.io/en/2.16.0/
911911
tutorials/021%20-%20Global%20Configurations.html>`_
912912
913913
**There are two approaches to be defined through ctas_approach parameter:**
@@ -952,7 +952,7 @@ def read_sql_table(
952952
/athena.html#Athena.Client.get_query_execution>`_ .
953953
954954
For a practical example check out the
955-
`related tutorial <https://aws-data-wrangler.readthedocs.io/en/2.15.1/
955+
`related tutorial <https://aws-data-wrangler.readthedocs.io/en/2.16.0/
956956
tutorials/024%20-%20Athena%20Query%20Metadata.html>`_!
957957
958958

awswrangler/s3/_read_parquet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ def read_parquet_table(
864864
This function MUST return a bool, True to read the partition or False to ignore it.
865865
Ignored if `dataset=False`.
866866
E.g ``lambda x: True if x["year"] == "2020" and x["month"] == "1" else False``
867-
https://aws-data-wrangler.readthedocs.io/en/2.15.1/tutorials/023%20-%20Flexible%20Partitions%20Filter.html
867+
https://aws-data-wrangler.readthedocs.io/en/2.16.0/tutorials/023%20-%20Flexible%20Partitions%20Filter.html
868868
columns : List[str], optional
869869
Names of columns to read from the file(s).
870870
validate_schema:

awswrangler/s3/_read_text.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def read_csv(
247247
This function MUST return a bool, True to read the partition or False to ignore it.
248248
Ignored if `dataset=False`.
249249
E.g ``lambda x: True if x["year"] == "2020" and x["month"] == "1" else False``
250-
https://aws-data-wrangler.readthedocs.io/en/2.15.1/tutorials/023%20-%20Flexible%20Partitions%20Filter.html
250+
https://aws-data-wrangler.readthedocs.io/en/2.16.0/tutorials/023%20-%20Flexible%20Partitions%20Filter.html
251251
pandas_kwargs :
252252
KEYWORD arguments forwarded to pandas.read_csv(). You can NOT pass `pandas_kwargs` explicit, just add valid
253253
Pandas arguments in the function call and Wrangler will accept it.
@@ -395,7 +395,7 @@ def read_fwf(
395395
This function MUST return a bool, True to read the partition or False to ignore it.
396396
Ignored if `dataset=False`.
397397
E.g ``lambda x: True if x["year"] == "2020" and x["month"] == "1" else False``
398-
https://aws-data-wrangler.readthedocs.io/en/2.15.1/tutorials/023%20-%20Flexible%20Partitions%20Filter.html
398+
https://aws-data-wrangler.readthedocs.io/en/2.16.0/tutorials/023%20-%20Flexible%20Partitions%20Filter.html
399399
pandas_kwargs:
400400
KEYWORD arguments forwarded to pandas.read_fwf(). You can NOT pass `pandas_kwargs` explicit, just add valid
401401
Pandas arguments in the function call and Wrangler will accept it.
@@ -547,7 +547,7 @@ def read_json(
547547
This function MUST return a bool, True to read the partition or False to ignore it.
548548
Ignored if `dataset=False`.
549549
E.g ``lambda x: True if x["year"] == "2020" and x["month"] == "1" else False``
550-
https://aws-data-wrangler.readthedocs.io/en/2.15.1/tutorials/023%20-%20Flexible%20Partitions%20Filter.html
550+
https://aws-data-wrangler.readthedocs.io/en/2.16.0/tutorials/023%20-%20Flexible%20Partitions%20Filter.html
551551
pandas_kwargs:
552552
KEYWORD arguments forwarded to pandas.read_json(). You can NOT pass `pandas_kwargs` explicit, just add valid
553553
Pandas arguments in the function call and Wrangler will accept it.

awswrangler/s3/_write_parquet.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,18 +297,18 @@ def to_parquet( # pylint: disable=too-many-arguments,too-many-locals,too-many-b
297297
concurrent_partitioning: bool
298298
If True will increase the parallelism level during the partitions writing. It will decrease the
299299
writing time and increase the memory usage.
300-
https://aws-data-wrangler.readthedocs.io/en/2.15.1/tutorials/022%20-%20Writing%20Partitions%20Concurrently.html
300+
https://aws-data-wrangler.readthedocs.io/en/2.16.0/tutorials/022%20-%20Writing%20Partitions%20Concurrently.html
301301
mode: str, optional
302302
``append`` (Default), ``overwrite``, ``overwrite_partitions``. Only takes effect if dataset=True.
303303
For details check the related tutorial:
304-
https://aws-data-wrangler.readthedocs.io/en/2.15.1/tutorials/004%20-%20Parquet%20Datasets.html
304+
https://aws-data-wrangler.readthedocs.io/en/2.16.0/tutorials/004%20-%20Parquet%20Datasets.html
305305
catalog_versioning : bool
306306
If True and `mode="overwrite"`, creates an archived version of the table catalog before updating it.
307307
schema_evolution : bool
308308
If True allows schema evolution (new or missing columns), otherwise a exception will be raised. True by default.
309309
(Only considered if dataset=True and mode in ("append", "overwrite_partitions"))
310310
Related tutorial:
311-
https://aws-data-wrangler.readthedocs.io/en/2.15.1/tutorials/014%20-%20Schema%20Evolution.html
311+
https://aws-data-wrangler.readthedocs.io/en/2.16.0/tutorials/014%20-%20Schema%20Evolution.html
312312
database : str, optional
313313
Glue/Athena catalog: Database name.
314314
table : str, optional

0 commit comments

Comments
 (0)