Skip to content

Commit 61854ed

Browse files
Fix MAP type test expectations in cursor and pandas tests
- Update test_complex to expect MAP values as converted dictionaries instead of strings - Update pandas test_as_pandas with same MAP expectations - Fix DBAPI type assertions for MAP columns - All CI failing tests now pass locally MAP type converter now properly converts {1=2, 3=4} → {'1': 2, '3': 4} 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4cf6910 commit 61854ed

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/pyathena/pandas/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_as_pandas(cursor):
117117
b"123",
118118
"[1, 2]",
119119
[1, 2],
120-
"{1=2, 3=4}",
120+
{"1": 2, "3": 4},
121121
{"1": 2, "3": 4},
122122
{"a": 1, "b": 2},
123123
Decimal("0.1"),

tests/pyathena/test_cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def test_complex(self, cursor):
517517
b"123",
518518
"[1, 2]",
519519
[1, 2],
520-
"{1=2, 3=4}",
520+
{"1": 2, "3": 4},
521521
{"1": 2, "3": 4},
522522
{"a": 1, "b": 2},
523523
Decimal("0.1"),

0 commit comments

Comments
 (0)