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

csy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/auron.git


The following commit(s) were added to refs/heads/master by this push:
     new 6a833df1 [AURON #1944] fix(clippy): fix panic error in 
spark_partition_id test (#1945)
6a833df1 is described below

commit 6a833df19e996bd136d159c2363c0dadcc00e99c
Author: yew1eb <[email protected]>
AuthorDate: Thu Jan 22 10:02:10 2026 +0800

    [AURON #1944] fix(clippy): fix panic error in spark_partition_id test 
(#1945)
    
    # Which issue does this PR close?
    
    Closes #1944
    
    # Rationale for this change
    
    # What changes are included in this PR?
    
    # Are there any user-facing changes?
    
    # How was this patch tested?
---
 native-engine/datafusion-ext-exprs/src/spark_partition_id.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/native-engine/datafusion-ext-exprs/src/spark_partition_id.rs 
b/native-engine/datafusion-ext-exprs/src/spark_partition_id.rs
index d34150db..b8fb6b09 100644
--- a/native-engine/datafusion-ext-exprs/src/spark_partition_id.rs
+++ b/native-engine/datafusion-ext-exprs/src/spark_partition_id.rs
@@ -146,7 +146,7 @@ mod tests {
                     assert_eq!(int_arr.value(i), 5);
                 }
             }
-            _ => panic!("Expected Array result"),
+            _ => unreachable!("Expected Array result"),
         }
     }
 
@@ -172,7 +172,7 @@ mod tests {
                         assert_eq!(int_arr.value(i), partition_id as i32);
                     }
                 }
-                _ => panic!("Expected Array result"),
+                _ => unreachable!("Expected Array result"),
             }
         }
     }

Reply via email to