You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by tu...@apache.org on 2025/02/01 12:40:31 UTC

(arrow-rs) branch main updated: fix error message (#7057)

This is an automated email from the ASF dual-hosted git repository.

tustvold pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/main by this push:
     new b5b4259f56 fix error message (#7057)
b5b4259f56 is described below

commit b5b4259f5690d646f40e3d063c2e9885542234a5
Author: Jinpeng <zj...@163.com>
AuthorDate: Sat Feb 1 07:40:26 2025 -0500

    fix error message (#7057)
    
    Co-authored-by: jp0317 <zj...@gmail.com>
---
 parquet/src/column/reader.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parquet/src/column/reader.rs b/parquet/src/column/reader.rs
index 953dc057d7..cb68351d06 100644
--- a/parquet/src/column/reader.rs
+++ b/parquet/src/column/reader.rs
@@ -252,7 +252,7 @@ where
                     let (values_read, levels_read) = reader.read_def_levels(out, levels_to_read)?;
 
                     if levels_read != levels_to_read {
-                        return Err(general_err!("insufficient definition levels read from column - expected {rep_levels}, got {read}"));
+                        return Err(general_err!("insufficient definition levels read from column - expected {levels_to_read}, got {levels_read}"));
                     }
 
                     values_read