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

jorgecarleitao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new 395d9d6  Fix some typos (#31)
395d9d6 is described below

commit 395d9d665800c7ea788c991b5847db828b4d88d6
Author: Yichen Wang <[email protected]>
AuthorDate: Thu Apr 22 21:12:08 2021 +0800

    Fix some typos (#31)
---
 datafusion/src/optimizer/constant_folding.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/datafusion/src/optimizer/constant_folding.rs 
b/datafusion/src/optimizer/constant_folding.rs
index 2fa03eb..d63177b 100644
--- a/datafusion/src/optimizer/constant_folding.rs
+++ b/datafusion/src/optimizer/constant_folding.rs
@@ -15,7 +15,7 @@
 // specific language governing permissions and limitations
 // under the License.
 
-//! Boolean comparision rule rewrites redudant comparison expression involing 
boolean literal into
+//! Boolean comparison rule rewrites redundant comparison expression involving 
boolean literal into
 //! unary expression.
 
 use std::sync::Arc;
@@ -30,7 +30,7 @@ use crate::scalar::ScalarValue;
 
 /// Optimizer that simplifies comparison expressions involving boolean 
literals.
 ///
-/// Recursively go through all expressionss and simplify the following cases:
+/// Recursively go through all expressions and simplify the following cases:
 /// * `expr = true` and `expr != false` to `expr` when `expr` is of boolean 
type
 /// * `expr = false` and `expr != true` to `!expr` when `expr` is of boolean 
type
 /// * `true = true` and `false = false` to `true`
@@ -253,7 +253,7 @@ mod tests {
     }
 
     #[test]
-    fn optimize_expr_null_comparision() -> Result<()> {
+    fn optimize_expr_null_comparison() -> Result<()> {
         let schema = expr_test_schema();
         let mut rewriter = ConstantRewriter {
             schemas: vec![&schema],

Reply via email to