Skip to content

Commit 19d873e

Browse files
committed
Keep nested Go schemas formatted and pin protocol v3 integration
1 parent 59e92eb commit 19d873e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/integration.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ concurrency:
2727
env:
2828
# The test suite and native Actions artifact must come from this exact ref.
2929
# The downloader verifies its provenance against the checked-out commit.
30-
VGI_REF: fc3e08f7e7fd800165a0edc00313de46fed15329
30+
VGI_REF: a83ff7e8cd46aa840a10e78fe9b31603931824c2
31+
VGI_NATIVE_RUNNER_BRANCH: release/vgi-v3-ci-20261028
3132
# CI is not a user: its ATTACHes should not land in Query.Farm's adoption data.
3233
# The vgi extension fires a telemetry event per successful ATTACH, and this
3334
# suite performs several hundred of them per lane, so opting out keeps the

‎vgi/codegen/go_schemas.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def _emit_type(dtype: pa.DataType, *, origin: str) -> str:
136136
child_exprs = [
137137
_emit_field_literal(dtype.field(i), origin=f"{origin}[struct child {i}]") for i in range(dtype.num_fields)
138138
]
139-
return "arrow.StructOf(\n" + ",\n".join("\t\t" + c for c in child_exprs) + ",\n\t)"
139+
return "arrow.StructOf(\n" + ",\n".join("\t\t" + c.replace("\n", "\n\t") for c in child_exprs) + ",\n\t)"
140140

141141
if pa.types.is_timestamp(dtype):
142142
unit_map = {

0 commit comments

Comments
 (0)