chore(comments): fix typo and grammar issues (#6496)

* Initial plan

* Fix 5 TODO comments: spelling typos and formatting issues

Co-authored-by: waynexia <15380403+waynexia@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: waynexia <15380403+waynexia@users.noreply.github.com>
This commit is contained in:
Copilot
2025-07-10 10:24:42 +08:00
committed by GitHub
parent 40363bfc0f
commit fea8bc5ee7
5 changed files with 5 additions and 5 deletions

View File

@@ -169,7 +169,7 @@ impl DfPartitionStream for PGClass {
}
/// Builds the `pg_catalog.pg_class` table row by row
/// TODO(J0HN50N133): `relowner` is always the [`DUMMY_OWNER_ID`] cuz we don't have user.
/// TODO(J0HN50N133): `relowner` is always the [`DUMMY_OWNER_ID`] because we don't have users.
/// Once we have user system, make it the actual owner of the table.
struct PGClassBuilder {
schema: SchemaRef,

View File

@@ -21,7 +21,7 @@ use crate::key::table_name::TableNameKey;
impl CreateFlowProcedure {
/// Allocates the [FlowId].
pub(crate) async fn allocate_flow_id(&mut self) -> Result<()> {
//TODO(weny, ruihang): We doesn't support the partitions. It's always be 1, now.
// TODO(weny, ruihang): We don't support the partitions. It's always be 1, now.
let partitions = 1;
let (flow_id, peers) = self
.context

View File

@@ -497,7 +497,7 @@ impl StreamingEngine {
&self,
schema: &RelationDesc,
) -> Result<(Vec<String>, Vec<ColumnSchema>, bool), Error> {
// TODO(discord9): condiser remove buggy auto create by schema
// TODO(discord9): consider remove buggy auto create by schema
// TODO(discord9): use default key from schema
let primary_keys = schema

View File

@@ -654,7 +654,7 @@ impl StatementExecutor {
ctx.clone(),
)?;
//TODO(dennis): validate the logical plan
// TODO(dennis): validate the logical plan
self.create_view_by_expr(expr, ctx).await
}

View File

@@ -126,7 +126,7 @@ impl PartialEq<Column> for ColumnEntry {
return false;
}
}
//TODO: Checks `semantic_type`
// TODO: Checks `semantic_type`
match semantic_type(&self.semantic_type) {
Some(SemanticType::Tag) => {
if !other