From c3b08bba0eeb40282dfcbefa750e4d5b7b4479d6 Mon Sep 17 00:00:00 2001 From: laughingman7743 Date: Mon, 28 Sep 2026 20:07:32 +0900 Subject: [PATCH] Add an ARRAY column to one_row_complex The column is added only to the table definition. The session creates it, and the tests that assert whole one_row_complex rows, schemas, dtypes, descriptions, and reflected types derive its expectations for every cursor type from the existing rules. Co-Authored-By: Claude Opus 5.5 --- tests/pyathena/tables.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pyathena/tables.py b/tests/pyathena/tables.py index 0812fdeb..ad483a5d 100644 --- a/tests/pyathena/tables.py +++ b/tests/pyathena/tables.py @@ -192,6 +192,7 @@ def _to_text(value: Any) -> str: pa.struct([("a", pa.int32()), ("b", pa.int32())]), ), Column("col_decimal", "DECIMAL(10,1)", pa.decimal128(10, 1)), + Column("col_array_string", "ARRAY", pa.list_(pa.string())), ), rows=( ( @@ -211,6 +212,7 @@ def _to_text(value: Any) -> str: [(1, 2), (3, 4)], {"a": 1, "b": 2}, Decimal("0.1"), + ["a", "b"], ), ), )