Commit 725cde6
Add JSON type support for SQLAlchemy dialect
Implement JSON type support to resolve GitHub Issue #619.
This enables proper handling of JSON columns when reflecting
Iceberg tables and querying JSON data with SQLAlchemy.
Changes:
- Add visit_JSON method to AthenaTypeCompiler
- Update ischema_names mapping from String to JSON type
- Add unit test for JSON type compilation
- Add integration test for JSON type with CAST operations
- Update documentation with JSON Type Support section
- Reorganize documentation structure (move Query Execution Callback section)
Limitations:
- Athena only supports JSON objects, not top-level arrays
- JSON type is for DML operations (SELECT), not DDL (CREATE TABLE)
Fixes #619
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 4026f3c commit 725cde6
5 files changed
Lines changed: 351 additions & 195 deletions
File tree
- docs
- pyathena/sqlalchemy
- tests/pyathena/sqlalchemy
0 commit comments