From 57826ad73c04c5e70355e58529d7e7c1fffa0d5d Mon Sep 17 00:00:00 2001 From: Dennis Zhuang Date: Wed, 6 Dec 2023 16:23:51 +0800 Subject: [PATCH] fix: typo --- src/common/function/src/scalars/date/date_add.rs | 2 +- src/common/function/src/scalars/date/date_sub.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/function/src/scalars/date/date_add.rs b/src/common/function/src/scalars/date/date_add.rs index 71ab3f6ad95c..aff9006c70d0 100644 --- a/src/common/function/src/scalars/date/date_add.rs +++ b/src/common/function/src/scalars/date/date_add.rs @@ -28,7 +28,7 @@ use snafu::ensure; use crate::helper; use crate::scalars::function::{Function, FunctionContext}; -/// A function adds a interval value to Timestamp, Date or DateTime, and return the result. +/// A function adds an interval value to Timestamp, Date or DateTime, and return the result. #[derive(Clone, Debug, Default)] pub struct DateAddFunction; diff --git a/src/common/function/src/scalars/date/date_sub.rs b/src/common/function/src/scalars/date/date_sub.rs index 5cacdecdc4b1..0426b1a2536c 100644 --- a/src/common/function/src/scalars/date/date_sub.rs +++ b/src/common/function/src/scalars/date/date_sub.rs @@ -28,7 +28,7 @@ use snafu::ensure; use crate::helper; use crate::scalars::function::{Function, FunctionContext}; -/// A function subtracts a interval value to Timestamp, Date or DateTime, and return the result. +/// A function subtracts an interval value to Timestamp, Date or DateTime, and return the result. #[derive(Clone, Debug, Default)] pub struct DateSubFunction;