You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2025/03/01 13:06:38 UTC

[I] index out of bounds: the len is 2 but the index is 2 in some data sources [datafusion]

alamb opened a new issue, #14957:
URL: https://github.com/apache/datafusion/issues/14957

   ### Describe the bug
   
   As part of testing DataFusion 46.0.0 on Delta.rs in
   - https://github.com/delta-io/delta-rs/pull/3261
   
   Here is an example failure:
   
   https://github.com/delta-io/delta-rs/actions/runs/13592071811/job/38008047004?pr=3261
   
   ```
   FAILED tests/test_cdf.py::test_read_cdf_partitioned_projection - pyo3_runtime.PanicException: index out of bounds: the len is 3 but the index is 3
   FAILED tests/test_cdf.py::test_read_cdf_last_version - pyo3_runtime.PanicException: index out of bounds: the len is 2 but the index is 2
   ==== 2 failed, 495 passed, 7 skipped, 35 deselected, 95 warnings in 40.15s =====
   ```
   
   ### To Reproduce
   
   As @blaginin  noted on https://github.com/delta-io/delta-rs/pull/3261#issuecomment-2691660399 the way to reproduce this is (in delta-rs)
   
   ```
   cd python
   make develop
   RUST_BACKTRACE=1 uv run pytest tests/test_cdf.py -s -k "test_read_cdf_partitioned_projection"
   ```
   
   ### Expected behavior
   
   Tests should passs
   
   ### Additional context
   
   - We had simmilar issues elsewhere https://github.com/apache/datafusion/issues/14905
   - This is probably some more fallotu from https://github.com/apache/datafusion/pull/14224


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] index out of bounds: the len is 2 but the index is 2 in some data sources [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #14957:
URL: https://github.com/apache/datafusion/issues/14957#issuecomment-2692196135

   @blaginin has a proposed fix for this:
   - https://github.com/apache/datafusion/pull/14956
   
   ❤ 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] index out of bounds: the len is 2 but the index is 2 in some data sources [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #14957: index out of bounds: the len is 2 but the index is 2 in some data sources
URL: https://github.com/apache/datafusion/issues/14957


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org