Pyathena

Latest version: v3.8.2

Safety actively analyzes 628924 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 15 of 23

2.3.2

* Support partitions with special chars table names.
Thanks fernbach. (255)

2.3.1

* Allow the boto3 session object to pass as an argument to the connection method.
Thanks benkehoe. (248)

2.3.0

* Support SQLAlchemy 1.4

2.2.0

* Change schema name (database name) to optional.
* Support for catalog.
Thanks milanaleksic. (220)

2.1.2

* Support duration_seconds, poll_interval and kill_on_interrupt options in SQLAlchemy connection string.
Thanks acountrec. (214)
* Support passing the execute method keyword arguments to the pandas.read_csv method arguments.
Thanks bjcttam, austinlostinboston. (169, 210)

2.1.1

* Change the default value of `na_values` in PandasCursor from `None` to `empty character`.
If you want to change the behavior to that of the previous version, explicitly set `na_values` to `None` in the argument of the execute method.

import pyathena
from pyathena.pandas.cursor import PandasCursor
cursor = pyathena.connect(s3_staging_dir="s3://YOUR_S3_BUCKET/path/to/",
region_name="us-west-2",
cursor_class=PandasCursor).cursor()
df = cursor.execute("SELECT * FROM many_rows",
na_values=None).as_pandas()

Thanks EdwardJRoss. (204)

Page 15 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.