Pyathena

Latest version: v3.9.0

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

Scan your dependencies

Page 17 of 24

1.11.5

* 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)

1.11.4

* 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)

1.11.3

* Support verify option in SQLAlchemy connection string.
Thanks tamersalama. (188)

1.11.2

* Fix for empty string decimal value in PandasCursor.
  Thanks hoffrocket. (laughingman7743/PyAthena/pull/157)
* Changed to escape % characters, even if there are no parameters to bind in SQLAlchemy.
  Thanks diego-serrano-glean. (laughingman7743/PyAthena/issues/160)

1.11.1

* Add keep_default_na, na_values and quoting arguments to the PandasCursor execute method.

1.11.0

* Support for canceling query execution on KeyboardInterrupt.

Page 17 of 24

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.