Skip to content

Commit 395d9d6

Browse files
authored
Fix some typos (#31)
1 parent 434fbf7 commit 395d9d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

datafusion/src/optimizer/constant_folding.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
//! Boolean comparision rule rewrites redudant comparison expression involing boolean literal into
18+
//! Boolean comparison rule rewrites redundant comparison expression involving boolean literal into
1919
//! unary expression.
2020
2121
use std::sync::Arc;
@@ -30,7 +30,7 @@ use crate::scalar::ScalarValue;
3030

3131
/// Optimizer that simplifies comparison expressions involving boolean literals.
3232
///
33-
/// Recursively go through all expressionss and simplify the following cases:
33+
/// Recursively go through all expressions and simplify the following cases:
3434
/// * `expr = true` and `expr != false` to `expr` when `expr` is of boolean type
3535
/// * `expr = false` and `expr != true` to `!expr` when `expr` is of boolean type
3636
/// * `true = true` and `false = false` to `true`
@@ -253,7 +253,7 @@ mod tests {
253253
}
254254

255255
#[test]
256-
fn optimize_expr_null_comparision() -> Result<()> {
256+
fn optimize_expr_null_comparison() -> Result<()> {
257257
let schema = expr_test_schema();
258258
let mut rewriter = ConstantRewriter {
259259
schemas: vec![&schema],

0 commit comments

Comments
 (0)