From ba62846a7463c0b43f8f0f587fff134ca3057565 Mon Sep 17 00:00:00 2001 From: Bruce Ritchie Date: Sun, 29 Dec 2024 21:32:49 +0000 Subject: [PATCH] Removed workaround for bug that was fixed. --- .../sqllogictest/src/engines/datafusion_engine/normalize.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/datafusion/sqllogictest/src/engines/datafusion_engine/normalize.rs b/datafusion/sqllogictest/src/engines/datafusion_engine/normalize.rs index 58400280072c..ced497de22a7 100644 --- a/datafusion/sqllogictest/src/engines/datafusion_engine/normalize.rs +++ b/datafusion/sqllogictest/src/engines/datafusion_engine/normalize.rs @@ -239,10 +239,6 @@ pub fn cell_to_string(col: &ArrayRef, row: usize) -> Result { let key = dict.normalized_keys()[row]; Ok(cell_to_string(dict.values(), key)?) } - // only added because of a bug in v 1.0.4 (is) of lexical-write-integer - DataType::Int64 => { - Ok(format!("{}", get_row_value!(array::Int64Array, col, row))) - } _ => { let f = ArrayFormatter::try_new(col.as_ref(), &DEFAULT_FORMAT_OPTIONS); Ok(f.unwrap().value(row).to_string())