Skip to content

Bump arrow-schema from 56.2.0 to 57.0.0#30

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/arrow-schema-57.0.0
Closed

Bump arrow-schema from 56.2.0 to 57.0.0#30
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/arrow-schema-57.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 23, 2025

Copy link
Copy Markdown
Contributor

Bumps arrow-schema from 56.2.0 to 57.0.0.

Release notes

Sourced from arrow-schema's releases.

arrow 57.0.0

Changelog

57.0.0 (2025-10-19)

Full Changelog

Breaking changes:

Implemented enhancements:

  • Added Avro support (new arrow-avro crate) #4886
  • parquet-rewrite: supports compression level and write batch size #8639

... (truncated)

Changelog

Sourced from arrow-schema's changelog.

57.0.0 (2025-10-19)

Full Changelog

Breaking changes:

Implemented enhancements:

  • Added Avro support (new arrow-avro crate) #4886
  • parquet-rewrite: supports compression level and write batch size #8639
  • Error not panic when int96 stastistics aren't size 12 #8614 [parquet]
  • [Variant] Make VariantArray iterable #8612
  • [Variant] impl PartialEq for VariantArray #8610
  • [Variant] Remove potential panics when probing VariantArray #8609
  • [Variant] Remove ceremony of going from list of Variant to VariantArray #8606
  • Eliminate redundant validation in RecordBatch::project #8591 [arrow]
  • [PARQUET][BENCH] Arrow writer bench with compression and/or page v2 #8559 [parquet]
  • [Variant] casting functions are confusingly named #8531 [parquet]
  • Support writing GeospatialStatistics in Parquet writer #8523 [parquet]
  • [thrift-remodel] Optimize convert_row_groups #8517 [parquet]
  • [Variant] Add variant to arrow primitive support for boolean/timestamp/time #8515
  • Test thrift-remodel branch with DataFusion #8513 [parquet]
  • Make UnionArray::is_dense Method Public #8503 [arrow]
  • Add append_n method to FixedSizeBinaryDictionaryBuilder #8497 [arrow]
  • [Parquet] Reduce size of ParquetMetadata when encryption feature is enabled #8469 [parquet]
  • [Parquet] Remove useless mut requirements in geting bloom filter function #8461 [parquet]
  • Change serde dependency to serde_core where applicable #8451 [arrow]
  • [Parquet] Split ParquetMetadataReader into IO/decoder state machine and thrift parsing #8439 [parquet]
  • Remove compiler warning for redundant config enablement #8412 [arrow]
  • Add geospatial statistics creation support for GEOMETRY/GEOGRAPHY Parquet logical types #8411 [arrow]
  • arrow_json lacks with_timestamp_format functions like arrow_csv had offered #8398 [arrow]
  • Unify API for writing column chunks / row groups in parallel #8389 [parquet]

... (truncated)

Commits
  • 5faa724 Prepare for 57.0.0 release (#8644)
  • 0c33129 parquet-rewrite: add write_batch_size and compression_level config (#8642)
  • 2f96204 Adding try_append_value implementation to ByteViewBuilder (#8594)
  • f131b54 bench: create zip kernel benchmarks (#8654)
  • d49f017 Introduce a ThriftProtocolError to avoid allocating and formattings strings f...
  • a85d8b0 [Variant] impl PartialEq and FromIterator\<Option<..>> for VariantArray ...
  • 2ca3d60 fix: incorrect assertion in BitChunks::new (#8620)
  • 5a384f4 Undeprecate ArrowWriter::into_serialized_writer and add docs (#8621)
  • f3baa80 [thrift-remodel] Add macro to reduce boilerplate necessary to implement Thrif...
  • caeb4d2 feat: Improve DataType display for RunEndEncoded (#8596)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot @github

dependabot Bot commented on behalf of github Oct 23, 2025

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: cargo, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@coderabbitai

coderabbitai Bot commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@leynos

leynos commented Mar 2, 2026

Copy link
Copy Markdown
Owner

@dependabot recreate

Bumps [arrow-schema](https://github.com/apache/arrow-rs) from 56.2.0 to 57.0.0.
- [Release notes](https://github.com/apache/arrow-rs/releases)
- [Changelog](https://github.com/apache/arrow-rs/blob/main/CHANGELOG.md)
- [Commits](apache/arrow-rs@56.2.0...57.0.0)

---
updated-dependencies:
- dependency-name: arrow-schema
  dependency-version: 57.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/arrow-schema-57.0.0 branch from 3e4f6e4 to ab7a73a Compare March 2, 2026 09:44
@leynos

leynos commented Mar 2, 2026

Copy link
Copy Markdown
Owner

@coderabbitai please create a new GitHub issue for the following:

Upgrade of arrow-schema to v57.0.0 is blocked by a lint violation:

error[E0308]: mismatched types
Error:   --> chutoro-providers/dense/src/ingest.rs:55:22
   |
55 |     if value_type != DataType::Float32 {
   |        ----------    ^^^^^^^^^^^^^^^^^ expected `arrow_array::cast::__private::DataType`, found `arrow_schema::DataType`
   |        |
   |        expected because this is `arrow_array::cast::__private::DataType`
   |
note: two different versions of crate `arrow_schema` are being used; two types coming from two different versions of the same crate are different types even if they look the same
  --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-schema-58.0.0/src/datatype.rs:96:1
   |
96 | pub enum DataType {
   | ^^^^^^^^^^^^^^^^^ this is the found type `arrow_schema::DataType`
   |
  ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-schema-56.2.0/src/datatype.rs:97:1
   |
97 | pub enum DataType {
   |
7  | pub(crate) fn validate_fixed_size_list_field(
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8  |     field: &Field,
   |     -------------

error[E0277]: `?` couldn't convert the error to `DenseMatrixProviderError`
Error:   --> chutoro-providers/dense/src/provider.rs:95:30
   |
95 |             let batch = batch?;
   |                         -----^ the trait `From<arrow_schema::error::ArrowError>` is not implemented for `DenseMatrixProviderError`
   |                         |
   |                         this can't be annotated with `?` because it has type `Result<_, arrow_schema::error::ArrowError>`
   |
note: `DenseMatrixProviderError` needs to implement `From<arrow_schema::error::ArrowError>`
  --> chutoro-providers/dense/src/errors.rs:8:1
   |
8  | pub enum DenseMatrixProviderError {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
   = help: the following other types implement trait `From<T>`:
             `DenseMatrixProviderError` implements `From<arrow_schema::ArrowError>`
             `DenseMatrixProviderError` implements `From<parquet::errors::ParquetError>`
             `DenseMatrixProviderError` implements `From<std::io::Error>`

error[E0308]: mismatched types
Error:    --> chutoro-providers/dense/src/provider.rs:102:29
    |
102 |                     actual: column_array.data_type().clone(),
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `arrow_schema::DataType`, found `arrow_array::cast::__private::DataType`
    |
note: two different versions of crate `arrow_schema` are being used; two types coming from two different versions of the same crate are different types even if they look the same
   --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-schema-58.0.0/src/datatype.rs:96:1
    |
96  | pub enum DataType {
    | ^^^^^^^^^^^^^^^^^ this is the expected type `arrow_schema::DataType`
    |
   ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-schema-56.2.0/src/datatype.rs:97:1
    |
97  | pub enum DataType {
    | ^^^^^^^^^^^^^^^^^ this is the found type `arrow_array::cast::__private::DataType`
    |
   ::: chutoro-providers/dense/src/errors.rs:2:5
    |
2   | use arrow_schema::{ArrowError, DataType};
    |     ------------ one version of crate `arrow_schema` used here, as a direct dependency of the current crate
    |
   ::: chutoro-providers/dense/src/ingest.rs:2:5
    |
2   | use arrow_array::{Array, FixedSizeListArray, Float32Array};
    |     ----------- one version of crate `arrow_schema` used here, as a dependency of crate `arrow_data`
    = help: you can use `cargo tree` to explore your dependency tree

Some errors have detailed explanations: E0277, E0308.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `chutoro-providers-dense` (lib) due to 6 previous errors
warning: build failed, waiting for other jobs to finish...
make: *** [Makefile:28: lint] Error 101
Error: Process completed with exit code 2.

@coderabbitai

coderabbitai Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

@leynos, I'll create a GitHub issue for this arrow-schema upgrade blocker.


🏁 Script executed:

#!/bin/bash

# Create GitHub issue for arrow-schema upgrade blocker
gh issue create \
  --repo leynos/chutoro \
  --title "arrow-schema v57.0.0 upgrade blocked by version conflict" \
  --assignee leynos \
  --body "## Problem

Upgrade of \`arrow-schema\` to v57.0.0 is blocked by type mismatch errors caused by conflicting versions of the \`arrow_schema\` crate (v56.2.0 and v58.0.0) being used simultaneously in the dependency tree.

## Error Details

\`\`\`
error[E0308]: mismatched types
Error:   --> chutoro-providers/dense/src/ingest.rs:55:22
   |
55 |     if value_type != DataType::Float32 {
   |        ----------    ^^^^^^^^^^^^^^^^^ expected \`arrow_array::cast::__private::DataType\`, found \`arrow_schema::DataType\`
   |        |
   |        expected because this is \`arrow_array::cast::__private::DataType\`
   |
note: two different versions of crate \`arrow_schema\` are being used; two types coming from two different versions of the same crate are different types even if they look the same
  --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-schema-58.0.0/src/datatype.rs:96:1
   |
96 | pub enum DataType {
   | ^^^^^^^^^^^^^^^^^ this is the found type \`arrow_schema::DataType\`
   |
  ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-schema-56.2.0/src/datatype.rs:97:1
   |
97 | pub enum DataType {
   |
7  | pub(crate) fn validate_fixed_size_list_field(
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8  |     field: &Field,
   |     -------------

error[E0277]: \`?\` couldn't convert the error to \`DenseMatrixProviderError\`
Error:   --> chutoro-providers/dense/src/provider.rs:95:30
   |
95 |             let batch = batch?;
   |                         -----^ the trait \`From<arrow_schema::error::ArrowError>\` is not implemented for \`DenseMatrixProviderError\`
   |                         |
   |                         this can't be annotated with \`?\` because it has type \`Result<_, arrow_schema::error::ArrowError>\`
   |
note: \`DenseMatrixProviderError\` needs to implement \`From<arrow_schema::error::ArrowError>\`
  --> chutoro-providers/dense/src/errors.rs:8:1
   |
8  | pub enum DenseMatrixProviderError {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = note: the question mark operation (\`?\`) implicitly performs a conversion on the error value using the \`From\` trait
   = help: the following other types implement trait \`From<T>\`:
             \`DenseMatrixProviderError\` implements \`From<arrow_schema::ArrowError>\`
             \`DenseMatrixProviderError\` implements \`From<parquet::errors::ParquetError>\`
             \`DenseMatrixProviderError\` implements \`From<std::io::Error>\`

error[E0308]: mismatched types
Error:    --> chutoro-providers/dense/src/provider.rs:102:29
    |
102 |                     actual: column_array.data_type().clone(),
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected \`arrow_schema::DataType\`, found \`arrow_array::cast::__private::DataType\`
    |
note: two different versions of crate \`arrow_schema\` are being used; two types coming from two different versions of the same crate are different types even if they look the same
   --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-schema-58.0.0/src/datatype.rs:96:1
    |
96  | pub enum DataType {
    | ^^^^^^^^^^^^^^^^^ this is the expected type \`arrow_schema::DataType\`
    |
   ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-schema-56.2.0/src/datatype.rs:97:1
    |
97  | pub enum DataType {
    | ^^^^^^^^^^^^^^^^^ this is the found type \`arrow_array::cast::__private::DataType\`
    |
   ::: chutoro-providers/dense/src/errors.rs:2:5
    |
2   | use arrow_schema::{ArrowError, DataType};
    |     ------------ one version of crate \`arrow_schema\` used here, as a direct dependency of the current crate
    |
   ::: chutoro-providers/dense/src/ingest.rs:2:5
    |
2   | use arrow_array::{Array, FixedSizeListArray, Float32Array};
    |     ----------- one version of crate \`arrow_schema\` used here, as a dependency of crate \`arrow_data\`
    = help: you can use \`cargo tree\` to explore your dependency tree
\`\`\`

## Affected Files
- \`chutoro-providers/dense/src/ingest.rs\`
- \`chutoro-providers/dense/src/provider.rs\`
- \`chutoro-providers/dense/src/errors.rs\`

## Next Steps
- Investigate dependency tree with \`cargo tree\` to identify which dependencies are pulling in conflicting \`arrow_schema\` versions
- Update all arrow-related dependencies to compatible versions
- Ensure \`arrow_array\`, \`arrow_schema\`, and other arrow crates are aligned to the same version

## Related
- Pull request: `#30`
- Requested by: `@leynos`"

Length of output: 43


@leynos, I've created GitHub issue #95 to track the arrow-schema v57.0.0 upgrade blocker. The issue includes the full error details, affected files, and suggested next steps for resolving the dependency version conflict.

@dependabot @github

dependabot Bot commented on behalf of github Mar 2, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #103.

@dependabot dependabot Bot closed this Mar 2, 2026
@dependabot dependabot Bot deleted the dependabot/cargo/arrow-schema-57.0.0 branch March 2, 2026 18:10
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.

1 participant