Skip to content

Commit 221283c

Browse files
authored
Merge branch 'main' into chore/publish-workflow
2 parents b290aa9 + b43432a commit 221283c

33 files changed

+3423
-2510
lines changed

.bumpversion.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.bumpversion]
2-
current_version = "3.13.0"
2+
current_version = "3.14.0"
33
commit = false
44
tag = false
55
tag_name = "{new_version}"

.github/workflows/snyk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v5
1818
- name: Run Snyk to check for vulnerabilities
19-
uses: snyk/actions/python-3.8@master
19+
uses: snyk/actions/python-3.12@master
2020
continue-on-error: true # To make sure that SARIF upload gets called
2121
env:
2222
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

README.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -94,25 +94,25 @@ FROM "sampleDB"."sampleTable" ORDER BY time DESC LIMIT 3
9494
## At scale
9595
AWS SDK for pandas can also run your workflows at scale by leveraging [Modin](https://modin.readthedocs.io/en/stable/) and [Ray](https://www.ray.io/). Both projects aim to speed up data workloads by distributing processing over a cluster of workers.
9696

97-
Read our [docs](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/scale.html) or head to our latest [tutorials](https://github.com/aws/aws-sdk-pandas/tree/main/tutorials) to learn more.
97+
Read our [docs](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/scale.html) or head to our latest [tutorials](https://github.com/aws/aws-sdk-pandas/tree/main/tutorials) to learn more.
9898

9999
## [Read The Docs](https://aws-sdk-pandas.readthedocs.io/)
100100

101-
- [**What is AWS SDK for pandas?**](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/about.html)
102-
- [**Install**](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/install.html)
103-
- [PyPi (pip)](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/install.html#pypi-pip)
104-
- [Conda](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/install.html#conda)
105-
- [AWS Lambda Layer](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/install.html#aws-lambda-layer)
106-
- [AWS Glue Python Shell Jobs](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/install.html#aws-glue-python-shell-jobs)
107-
- [AWS Glue PySpark Jobs](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/install.html#aws-glue-pyspark-jobs)
108-
- [Amazon SageMaker Notebook](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/install.html#amazon-sagemaker-notebook)
109-
- [Amazon SageMaker Notebook Lifecycle](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/install.html#amazon-sagemaker-notebook-lifecycle)
110-
- [EMR](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/install.html#emr)
111-
- [From source](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/install.html#from-source)
112-
- [**At scale**](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/scale.html)
113-
- [Getting Started](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/scale.html#getting-started)
114-
- [Supported APIs](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/scale.html#supported-apis)
115-
- [Resources](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/scale.html#resources)
101+
- [**What is AWS SDK for pandas?**](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/about.html)
102+
- [**Install**](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/install.html)
103+
- [PyPi (pip)](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/install.html#pypi-pip)
104+
- [Conda](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/install.html#conda)
105+
- [AWS Lambda Layer](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/install.html#aws-lambda-layer)
106+
- [AWS Glue Python Shell Jobs](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/install.html#aws-glue-python-shell-jobs)
107+
- [AWS Glue PySpark Jobs](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/install.html#aws-glue-pyspark-jobs)
108+
- [Amazon SageMaker Notebook](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/install.html#amazon-sagemaker-notebook)
109+
- [Amazon SageMaker Notebook Lifecycle](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/install.html#amazon-sagemaker-notebook-lifecycle)
110+
- [EMR](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/install.html#emr)
111+
- [From source](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/install.html#from-source)
112+
- [**At scale**](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/scale.html)
113+
- [Getting Started](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/scale.html#getting-started)
114+
- [Supported APIs](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/scale.html#supported-apis)
115+
- [Resources](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/scale.html#resources)
116116
- [**Tutorials**](https://github.com/aws/aws-sdk-pandas/tree/main/tutorials)
117117
- [001 - Introduction](https://github.com/aws/aws-sdk-pandas/blob/main/tutorials/001%20-%20Introduction.ipynb)
118118
- [002 - Sessions](https://github.com/aws/aws-sdk-pandas/blob/main/tutorials/002%20-%20Sessions.ipynb)
@@ -153,30 +153,30 @@ Read our [docs](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/scale.html) or h
153153
- [039 - Athena Iceberg](https://github.com/aws/aws-sdk-pandas/blob/main/tutorials/039%20-%20Athena%20Iceberg.ipynb)
154154
- [040 - EMR Serverless](https://github.com/aws/aws-sdk-pandas/blob/main/tutorials/040%20-%20EMR%20Serverless.ipynb)
155155
- [041 - Apache Spark on Amazon Athena](https://github.com/aws/aws-sdk-pandas/blob/main/tutorials/041%20-%20Apache%20Spark%20on%20Amazon%20Athena.ipynb)
156-
- [**API Reference**](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html)
157-
- [Amazon S3](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#amazon-s3)
158-
- [AWS Glue Catalog](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#aws-glue-catalog)
159-
- [Amazon Athena](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#amazon-athena)
160-
- [Amazon Redshift](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#amazon-redshift)
161-
- [PostgreSQL](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#postgresql)
162-
- [MySQL](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#mysql)
163-
- [SQL Server](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#sqlserver)
164-
- [Oracle](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#oracle)
165-
- [Data API Redshift](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#data-api-redshift)
166-
- [Data API RDS](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#data-api-rds)
167-
- [OpenSearch](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#opensearch)
168-
- [AWS Glue Data Quality](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#aws-glue-data-quality)
169-
- [Amazon Neptune](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#amazon-neptune)
170-
- [DynamoDB](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#dynamodb)
171-
- [Amazon Timestream](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#amazon-timestream)
172-
- [Amazon EMR](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#amazon-emr)
173-
- [Amazon CloudWatch Logs](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#amazon-cloudwatch-logs)
174-
- [Amazon Chime](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#amazon-chime)
175-
- [Amazon QuickSight](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#amazon-quicksight)
176-
- [AWS STS](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#aws-sts)
177-
- [AWS Secrets Manager](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#aws-secrets-manager)
178-
- [Global Configurations](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#global-configurations)
179-
- [Distributed - Ray](https://aws-sdk-pandas.readthedocs.io/en/3.13.0/api.html#distributed-ray)
156+
- [**API Reference**](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html)
157+
- [Amazon S3](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#amazon-s3)
158+
- [AWS Glue Catalog](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#aws-glue-catalog)
159+
- [Amazon Athena](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#amazon-athena)
160+
- [Amazon Redshift](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#amazon-redshift)
161+
- [PostgreSQL](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#postgresql)
162+
- [MySQL](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#mysql)
163+
- [SQL Server](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#sqlserver)
164+
- [Oracle](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#oracle)
165+
- [Data API Redshift](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#data-api-redshift)
166+
- [Data API RDS](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#data-api-rds)
167+
- [OpenSearch](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#opensearch)
168+
- [AWS Glue Data Quality](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#aws-glue-data-quality)
169+
- [Amazon Neptune](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#amazon-neptune)
170+
- [DynamoDB](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#dynamodb)
171+
- [Amazon Timestream](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#amazon-timestream)
172+
- [Amazon EMR](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#amazon-emr)
173+
- [Amazon CloudWatch Logs](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#amazon-cloudwatch-logs)
174+
- [Amazon Chime](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#amazon-chime)
175+
- [Amazon QuickSight](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#amazon-quicksight)
176+
- [AWS STS](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#aws-sts)
177+
- [AWS Secrets Manager](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#aws-secrets-manager)
178+
- [Global Configurations](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#global-configurations)
179+
- [Distributed - Ray](https://aws-sdk-pandas.readthedocs.io/en/3.14.0/api.html#distributed-ray)
180180
- [**License**](https://github.com/aws/aws-sdk-pandas/blob/main/LICENSE.txt)
181181
- [**Contributing**](https://github.com/aws/aws-sdk-pandas/blob/main/CONTRIBUTING.md)
182182

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.13.0
1+
3.14.0

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 = "3.13.0"
10+
__version__: str = "3.14.0"
1111
__license__: str = "Apache License 2.0"

awswrangler/_distributed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def get(cls) -> MemoryFormatEnum:
177177
return cls._enum if cls._enum else cls.get_installed()
178178

179179
@classmethod
180-
def set(cls, name: EngineLiteral) -> None:
180+
def set(cls, name: MemoryFormatLiteral) -> None:
181181
"""Set the memory format."""
182182
with cls._lock:
183183
cls._enum = MemoryFormatEnum[name.upper()]

awswrangler/athena/_read.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -798,11 +798,11 @@ def read_sql_query(
798798
799799
**Related tutorial:**
800800
801-
- `Amazon Athena <https://aws-sdk-pandas.readthedocs.io/en/3.13.0/
801+
- `Amazon Athena <https://aws-sdk-pandas.readthedocs.io/en/3.14.0/
802802
tutorials/006%20-%20Amazon%20Athena.html>`_
803-
- `Athena Cache <https://aws-sdk-pandas.readthedocs.io/en/3.13.0/
803+
- `Athena Cache <https://aws-sdk-pandas.readthedocs.io/en/3.14.0/
804804
tutorials/019%20-%20Athena%20Cache.html>`_
805-
- `Global Configurations <https://aws-sdk-pandas.readthedocs.io/en/3.13.0/
805+
- `Global Configurations <https://aws-sdk-pandas.readthedocs.io/en/3.14.0/
806806
tutorials/021%20-%20Global%20Configurations.html>`_
807807
808808
**There are three approaches available through ctas_approach and unload_approach parameters:**
@@ -866,7 +866,7 @@ def read_sql_query(
866866
/athena.html#Athena.Client.get_query_execution>`_ .
867867
868868
For a practical example check out the
869-
`related tutorial <https://aws-sdk-pandas.readthedocs.io/en/3.13.0/
869+
`related tutorial <https://aws-sdk-pandas.readthedocs.io/en/3.14.0/
870870
tutorials/024%20-%20Athena%20Query%20Metadata.html>`_!
871871
872872
@@ -1154,11 +1154,11 @@ def read_sql_table(
11541154
11551155
**Related tutorial:**
11561156
1157-
- `Amazon Athena <https://aws-sdk-pandas.readthedocs.io/en/3.13.0/
1157+
- `Amazon Athena <https://aws-sdk-pandas.readthedocs.io/en/3.14.0/
11581158
tutorials/006%20-%20Amazon%20Athena.html>`_
1159-
- `Athena Cache <https://aws-sdk-pandas.readthedocs.io/en/3.13.0/
1159+
- `Athena Cache <https://aws-sdk-pandas.readthedocs.io/en/3.14.0/
11601160
tutorials/019%20-%20Athena%20Cache.html>`_
1161-
- `Global Configurations <https://aws-sdk-pandas.readthedocs.io/en/3.13.0/
1161+
- `Global Configurations <https://aws-sdk-pandas.readthedocs.io/en/3.14.0/
11621162
tutorials/021%20-%20Global%20Configurations.html>`_
11631163
11641164
**There are three approaches available through ctas_approach and unload_approach parameters:**
@@ -1222,7 +1222,7 @@ def read_sql_table(
12221222
/athena.html#Athena.Client.get_query_execution>`_ .
12231223
12241224
For a practical example check out the
1225-
`related tutorial <https://aws-sdk-pandas.readthedocs.io/en/3.13.0/
1225+
`related tutorial <https://aws-sdk-pandas.readthedocs.io/en/3.14.0/
12261226
tutorials/024%20-%20Athena%20Query%20Metadata.html>`_!
12271227
12281228

awswrangler/athena/_write_iceberg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ def to_iceberg( # noqa: PLR0913
578578
keep_files=False,
579579
data_source=data_source,
580580
workgroup=workgroup,
581+
s3_output=s3_output,
581582
encryption=encryption,
582583
kms_key=kms_key,
583584
boto3_session=boto3_session,
@@ -593,6 +594,7 @@ def to_iceberg( # noqa: PLR0913
593594
wg_config=wg_config,
594595
database=database,
595596
data_source=data_source,
597+
s3_output=s3_output,
596598
encryption=encryption,
597599
kms_key=kms_key,
598600
boto3_session=boto3_session,

awswrangler/catalog/_create.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ def create_csv_table(
11001100
If True allows schema evolution (new or missing columns), otherwise a exception will be raised.
11011101
(Only considered if dataset=True and mode in ("append", "overwrite_partitions"))
11021102
Related tutorial:
1103-
https://aws-sdk-pandas.readthedocs.io/en/3.13.0/tutorials/014%20-%20Schema%20Evolution.html
1103+
https://aws-sdk-pandas.readthedocs.io/en/3.14.0/tutorials/014%20-%20Schema%20Evolution.html
11041104
sep
11051105
String of length 1. Field delimiter for the output file.
11061106
skip_header_line_count
@@ -1280,7 +1280,7 @@ def create_json_table(
12801280
If True allows schema evolution (new or missing columns), otherwise a exception will be raised.
12811281
(Only considered if dataset=True and mode in ("append", "overwrite_partitions"))
12821282
Related tutorial:
1283-
https://aws-sdk-pandas.readthedocs.io/en/3.13.0/tutorials/014%20-%20Schema%20Evolution.html
1283+
https://aws-sdk-pandas.readthedocs.io/en/3.14.0/tutorials/014%20-%20Schema%20Evolution.html
12841284
serde_library
12851285
Specifies the SerDe Serialization library which will be used. You need to provide the Class library name
12861286
as a string.

awswrangler/oracle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ def detect_oracle_decimal_datatype(cursor: Any) -> dict[str, pa.DataType]:
607607
if isinstance(cursor, oracledb.Cursor):
608608
# Oracle stores DECIMAL as the NUMBER type
609609

610-
for name, db_type, display_size, internal_size, precision, scale, null_ok in cursor.description:
610+
for name, db_type, display_size, internal_size, precision, scale, null_ok in cursor.description: # type: ignore
611611
_logger.debug((name, db_type, display_size, internal_size, precision, scale, null_ok))
612612

613613
if db_type == oracledb.DB_TYPE_NUMBER and scale is not None and scale > 0:

0 commit comments

Comments
 (0)