Apache DataFusion SQL Query Engine
fix some typos (#2597)
Hu Mingde5acf9790b0
diff --git a/datafusion/CHANGELOG.md b/datafusion/CHANGELOG.mdindex abc322e234..1044a236ef 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))diff --git a/datafusion/core/src/sql/planner.rs b/datafusion/core/src/sql/planner.rsindex b2dad55f26..8864caacbc 100644--- a/datafusion/core/src/sql/planner.rs+++ b/datafusion/core/src/sql/planner.rs@@ -1681,7 +1681,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.rsindex 7a2523e030..31034975e5 100644--- a/datafusion/core/src/sql/utils.rs+++ b/datafusion/core/src/sql/utils.rs@@ -471,7 +471,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(),