Skip to content

Commit

Permalink
chore: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
QuenKar committed Nov 15, 2023
1 parent 182be05 commit ae832f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datatypes/src/vectors/decimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ impl ScalarVectorBuilder for Decimal128VectorBuilder {

impl Decimal128VectorBuilder {
/// Change the precision and scale of the Decimal128VectorBuilder.
pub fn with_precison_and_scale(self, precision: u8, scale: i8) -> Result<Self> {
pub fn with_precision_and_scale(self, precision: u8, scale: i8) -> Result<Self> {
let mutable_array = self
.mutable_array
.with_precision_and_scale(precision, scale)
Expand Down Expand Up @@ -476,7 +476,7 @@ pub mod tests {
#[test]
fn test_decimal128_vector_builder() {
let mut decimal_builder = Decimal128VectorBuilder::with_capacity(3)
.with_precison_and_scale(10, 2)
.with_precision_and_scale(10, 2)
.unwrap();
decimal_builder.push(Some(Decimal128::new(100, 10, 2)));
decimal_builder.push(Some(Decimal128::new(200, 10, 2)));
Expand Down

0 comments on commit ae832f3

Please sign in to comment.