From 0c596f1aee53ee09c5c41ffc5ed2be014f5ac988 Mon Sep 17 00:00:00 2001 From: Dennis Zhuang Date: Tue, 21 May 2024 23:08:04 +0800 Subject: [PATCH] fix: typo --- src/catalog/src/table_source/dummy_catalog.rs | 2 +- src/common/query/src/logical_plan.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/catalog/src/table_source/dummy_catalog.rs b/src/catalog/src/table_source/dummy_catalog.rs index 243371a4b97f..602a5c9cbe0f 100644 --- a/src/catalog/src/table_source/dummy_catalog.rs +++ b/src/catalog/src/table_source/dummy_catalog.rs @@ -28,7 +28,7 @@ use table::table::adapter::DfTableProviderAdapter; use crate::error::TableNotExistSnafu; use crate::CatalogManagerRef; -/// Delegate the resolving rquests to the `[CatalogManager]` unconditionally. +/// Delegate the resolving requests to the `[CatalogManager]` unconditionally. #[derive(Clone)] pub struct DummyCatalogList { catalog_manager: CatalogManagerRef, diff --git a/src/common/query/src/logical_plan.rs b/src/common/query/src/logical_plan.rs index ecf1b5092f4e..72e45d24b9e8 100644 --- a/src/common/query/src/logical_plan.rs +++ b/src/common/query/src/logical_plan.rs @@ -75,7 +75,7 @@ pub fn create_aggregate_function( #[async_trait::async_trait] pub trait SubstraitPlanDecoder { /// Decode the `[LogicalPlan]` from bytes with the `[CatalogProviderList]`. - /// When `optimzie` is true, it will do the optimization for decoded plan. + /// When `optimize` is true, it will do the optimization for decoded plan. async fn decode( &self, message: bytes::Bytes,