Skip to content

feat: Compare generated Parquet schemas between table versions - #784

Merged
kodiakhq[bot] merged 3 commits into
mainfrom
ath-943-compare-generated-parquet-schemas-between-source-versions-in
Oct 7, 2026
Merged

kodiakhq[bot] merged 3 commits into
mainfrom
ath-943-compare-generated-parquet-schemas-between-source-versions-in

Conversation

@erezrokah

Copy link
Copy Markdown
Member

Adds parquet.Client.ParquetSchema to get the generated Parquet schema for a table without writing, and parquet.Client.AssessTable to report added, removed and changed fields with exact Parquet types as File schema/output changed or No destination schema change, pinning plugin-sdk to cloudquery/plugin-sdk#2619 for the finding types.

Fixes https://linear.app/env-zero/issue/ATH-943/compare-generated-parquet-schemas-between-source-versions-in-filetypes

…ated-parquet-schemas-between-source-versions-in

# Conflicts:
#	go.mod
#	go.sum
kodiakhq Bot pushed a commit to cloudquery/plugin-sdk that referenced this pull request Oct 7, 2026
…2619)

Adds `schema.SyntheticPairs` and `schema.SyntheticRecords`, which build equivalent populated, null, empty-collection, nested and escaping values for an old and new Arrow field, or return `schema.ErrUnableToCompare` when none exist (consumed by cloudquery/filetypes#784).

Fixes https://linear.app/env-zero/issue/ATH-942/add-shared-synthetic-record-helpers-to-plugin-sdk
@erezrokah
erezrokah marked this pull request as ready for review October 7, 2026 10:56
@erezrokah
erezrokah requested a review from a team as a code owner October 7, 2026 10:56
@erezrokah
erezrokah requested review from disq and marianogappa and removed request for a team October 7, 2026 10:56
@erezrokah erezrokah added the automerge Add to automerge PRs once requirements are met label Oct 7, 2026
@kodiakhq
kodiakhq Bot merged commit 4195d3c into main Oct 7, 2026
7 checks passed
@kodiakhq
kodiakhq Bot deleted the ath-943-compare-generated-parquet-schemas-between-source-versions-in branch October 7, 2026 12:59
kodiakhq Bot pushed a commit that referenced this pull request Oct 7, 2026
🤖 I have created a release *beep* *boop*
---


## [4.8.0](v4.7.5...v4.8.0) (2026-10-07)


### Features

* Compare generated Parquet schemas between table versions ([#784](#784)) ([4195d3c](4195d3c))
* Compare JSON and CSV output for equivalent synthetic records ([#785](#785)) ([e8c0823](e8c0823))


### Bug Fixes

* **deps:** Update go module directive to v1.27.1 ([#783](#783)) ([e103465](e103465))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.96.6 ([#779](#779)) ([781f0dc](781f0dc))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.97.0 ([#786](#786)) ([cfbc968](cfbc968))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.98.0 ([#787](#787)) ([28be9fe](28be9fe))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Add to automerge PRs once requirements are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants