Skip to content

Upgrade to arrow 59#64

Open
adriangb wants to merge 1 commit into
datafusion-contrib:mainfrom
pydantic:claude/arrow-59-upgrade-vg9o8j
Open

Upgrade to arrow 59#64
adriangb wants to merge 1 commit into
datafusion-contrib:mainfrom
pydantic:claude/arrow-59-upgrade-vg9o8j

Conversation

@adriangb

Copy link
Copy Markdown
Contributor

Bump arrow, arrow-schema, arrow-cast and the parquet-variant crates to 59.0.0. DataFusion does not yet have a crates.io release built against arrow 59, so a [patch.crates-io] section points the datafusion* crates at apache/datafusion PR #22744 (alamb/update_arrow_59), which updates DataFusion to arrow/parquet 59.0.0. This keeps the whole dependency graph on a single arrow 59 major; drop the patch once a DataFusion release ships arrow 59.

parquet-variant 59 changed variant_get(..., as_type) to coerce mismatched primitives (matching SQL cast semantics) instead of returning NULL:

  • numeric -> boolean coerces nonzero to true
  • float -> integer truncates toward zero

Update the affected unit tests and sqllogictests accordingly.

Bump arrow, arrow-schema, arrow-cast and the parquet-variant crates to
59.0.0. DataFusion does not yet have a crates.io release built against
arrow 59, so a [patch.crates-io] section points the datafusion* crates at
apache/datafusion PR #22744 (alamb/update_arrow_59), which updates
DataFusion to arrow/parquet 59.0.0. This keeps the whole dependency graph
on a single arrow 59 major; drop the patch once a DataFusion release ships
arrow 59.

parquet-variant 59 changed `variant_get(..., as_type)` to coerce mismatched
primitives (matching SQL cast semantics) instead of returning NULL:
- numeric -> boolean coerces nonzero to true
- float -> integer truncates toward zero

Update the affected unit tests and sqllogictests accordingly.

https://claude.ai/code/session_01H3jbXkVZam7VH5DpiXczBR
@sdf-jkl

sdf-jkl commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

parquet-variant 59 changed variant_get(..., as_type) to coerce mismatched primitives (matching SQL cast semantics) instead of returning NULL:

I think there should be more stuff to add here that I'm missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants