-
Notifications
You must be signed in to change notification settings - Fork 114
Add an ARRAY<string> column to one_row_complex through its definition only #877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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<string>", pa.list_(pa.string())), | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Independent review (relayed Codex result): CLEAN Reviewer: Codex CLI 0.157.1 ( Scope: base 3202ab5, head bcbf874. The review ran on a detached snapshot without Covered, as reported:
Result: "No broken or newly vacuous assertions found. The new value's expectations match the applicable cursor paths, and |
||
| ), | ||
| rows=( | ||
| ( | ||
|
|
@@ -211,6 +212,7 @@ def _to_text(value: Any) -> str: | |
| [(1, 2), (3, 4)], | ||
| {"a": 1, "b": 2}, | ||
| Decimal("0.1"), | ||
| ["a", "b"], | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Self-review round two (claims, callers, AWS operations): CLEAN Claims checked against the AWS run on this head
Operational effect: none beyond one more column in one Parquet file. The number of setup statements and uploads is unchanged. CI scope: no SQLAlchemy or Spark path changes, so on Ready the PyAthena suite runs without Spark. |
||
| ), | ||
| ), | ||
| ) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Self-review round one (implementation behavior): CLEAN
Base 3202ab5 (#876 head, the stacked base), head bcbf874. The full diff is 2 lines.
Table.data_filewrites["a", "b"]aslist<string>and the new round-trip check accepts it. The DDL gainscol_array_string ARRAY<string>.Selection. The PolarsCursor tests leave it out throughCOMPLEX_FAMILIES.one_row_complexcolumns are unaffected.meta.reflect()over the schema (test_get_table_names/test_get_view_names) reflects the new array type.one_row_complexcolumn tests, and 43 passed for the Glue, throttling, and table-metadata tests.