Skip to content

Releases: pyathena-dev/PyAthena

v3.30.1

26 Mar 14:41
f546a81

Choose a tag to compare

What's Changed

  • Move _normalize_hive_syntax to DefaultTypeConverter and fix pass stubs by @laughingman7743 in #695
  • Always use C engine for CSV parsing and simplify engine selection logic by @laughingman7743 in #697

Bug Fixes

  • Fix CSV parsing performance regression — PR #594 incorrectly forced the Python CSV engine for files over 50MB based on fabricated claims about pandas C parser int32 limitations. The C engine is now always used as the default (same as pandas' own default), restoring up to 28% faster CSV parsing. See #696 for details.

Internal

  • Refactored type converter: moved _normalize_hive_syntax to DefaultTypeConverter and cleaned up pass stubs.
  • Simplified CSV engine selection from 4 methods to 2 by removing dead code and inlining pyarrow compatibility checks.

Affected Versions

All versions from v3.17.0 through v3.30.0 (released 2025-08-09 to 2026-02-28) are affected by this performance regression. The last unaffected version is v3.16.0.

Workaround for older versions

If you cannot upgrade to v3.30.1, explicitly specify the C engine to bypass the incorrect engine selection:

cursor = connection.cursor(PandasCursor, engine="c")

Full Changelog: v3.30.0...v3.30.1

v3.30.0

28 Feb 13:05
90e67bc

Choose a tag to compare

What's Changed

Full Changelog: v3.29.3...v3.30.0

v3.29.3

22 Feb 08:08
93ae890

Choose a tag to compare

What's Changed

Full Changelog: v3.29.2...v3.29.3

v3.29.2

21 Feb 17:18
424d564

Choose a tag to compare

What's Changed

Full Changelog: v3.29.1...v3.29.2

v3.29.1

21 Feb 15:02
52dfba6

Choose a tag to compare

What's Changed

Full Changelog: v3.29.0...v3.29.1

v3.29.0

21 Feb 08:29
5651427

Choose a tag to compare

What's Changed

Full Changelog: v3.28.0...v3.29.0

v3.28.0

19 Feb 14:51
a13bd3c

Choose a tag to compare

What's Changed

Full Changelog: v3.27.2...v3.28.0

v3.27.2

15 Feb 08:21
0a2f0dd

Choose a tag to compare

What's Changed

Full Changelog: v3.27.1...v3.27.2

v3.27.1

08 Feb 13:46
fdfdb24

Choose a tag to compare

What's Changed

Full Changelog: v3.27.0...v3.27.1

v3.27.0

08 Feb 12:29
50f7670

Choose a tag to compare

What's Changed

Full Changelog: v3.26.0...v3.27.0