Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgapp committed Dec 10, 2023
1 parent d08d373 commit 2ba26d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arrow-json/src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ fn set_column_for_json_rows(
}
}
DataType::Decimal128(_precision, _scale) | DataType::Decimal256(_precision, _scale) => {
to_json_number_via_f64(rows, array, col_name, explicit_nulls)?;
to_json_float(rows, array, col_name, explicit_nulls)?;
}
_ => {
return Err(ArrowError::JsonError(format!(
Expand All @@ -482,7 +482,7 @@ fn set_column_for_json_rows(
Ok(())
}

fn to_json_number_via_f64(
fn to_json_float(
rows: &mut [Option<JsonMap<String, Value>>],
array: &ArrayRef,
col_name: &str,
Expand Down

0 comments on commit 2ba26d0

Please sign in to comment.