From eb0f94850b5fe2097c425d7f540aa260bf8eba4a Mon Sep 17 00:00:00 2001 From: huming Date: Mon, 23 May 2022 20:05:00 +0800 Subject: [PATCH 1/2] fix some typos --- datafusion/core/src/sql/planner.rs | 2 +- datafusion/core/src/sql/utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/datafusion/core/src/sql/planner.rs b/datafusion/core/src/sql/planner.rs index 4c6d26b668de..2698a27ebf0c 100644 --- a/datafusion/core/src/sql/planner.rs +++ b/datafusion/core/src/sql/planner.rs @@ -1640,7 +1640,7 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> { } else { // Don't use `col()` here because it will try to // interpret names with '.' as if they were - // compound indenfiers, but this is not a compound + // compound identifiers, but this is not a compound // identifier. (e.g. it is "foo.bar" not foo.bar) Ok(Expr::Column(Column { relation: None, diff --git a/datafusion/core/src/sql/utils.rs b/datafusion/core/src/sql/utils.rs index b2cf1f6987e1..8501462e347f 100644 --- a/datafusion/core/src/sql/utils.rs +++ b/datafusion/core/src/sql/utils.rs @@ -670,7 +670,7 @@ pub(crate) fn make_decimal_type( } } -// Normalize an identifer to a lowercase string unless the identifier is quoted. +// Normalize an identifier to a lowercase string unless the identifier is quoted. pub(crate) fn normalize_ident(id: &Ident) -> String { match id.quote_style { Some(_) => id.value.clone(), From 211d52e18e5e4cc655cd2bd6491a1e7445ceeb73 Mon Sep 17 00:00:00 2001 From: huming Date: Mon, 23 May 2022 20:42:58 +0800 Subject: [PATCH 2/2] fix typo --- datafusion/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/CHANGELOG.md b/datafusion/CHANGELOG.md index abc322e23413..1044a236ef4d 100644 --- a/datafusion/CHANGELOG.md +++ b/datafusion/CHANGELOG.md @@ -191,7 +191,7 @@ - fix string coercion missing in Eq/NotEq operator [\#2258](https://github.com/apache/arrow-datafusion/pull/2258) ([WinkerDu](https://github.com/WinkerDu)) - Update to Arrow 12.0.0, update tonic and prost [\#2253](https://github.com/apache/arrow-datafusion/pull/2253) ([alamb](https://github.com/alamb)) - minor: move field\_util from `physical-expr` crate to `expr` crate [\#2250](https://github.com/apache/arrow-datafusion/pull/2250) ([andygrove](https://github.com/andygrove)) -- Move identifer case tests to `sql_integ`, add negative cases, Debug for `DataFrame` [\#2243](https://github.com/apache/arrow-datafusion/pull/2243) ([alamb](https://github.com/alamb)) +- Move identifier case tests to `sql_integ`, add negative cases, Debug for `DataFrame` [\#2243](https://github.com/apache/arrow-datafusion/pull/2243) ([alamb](https://github.com/alamb)) - Implement sort-merge join [\#2242](https://github.com/apache/arrow-datafusion/pull/2242) ([richox](https://github.com/richox)) - fix: find the right wider decimal datatype for comparison operation [\#2241](https://github.com/apache/arrow-datafusion/pull/2241) ([liukun4515](https://github.com/liukun4515)) - Fix join without constraints [\#2240](https://github.com/apache/arrow-datafusion/pull/2240) ([Dandandan](https://github.com/Dandandan))