Skip to content

Commit

Permalink
use constants
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun committed May 27, 2024
1 parent f9940a3 commit 0dd21e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operator/src/statement/ddl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use common_query::Output;
use common_telemetry::{debug, info, tracing};
use common_time::Timezone;
use datatypes::prelude::ConcreteDataType;
use datatypes::schema::RawSchema;
use datatypes::schema::{COMMENT_KEY, RawSchema};
use datatypes::value::Value;
use lazy_static::lazy_static;
use partition::expr::{Operand, PartitionExpr, RestrictedOp};
Expand Down Expand Up @@ -1142,7 +1142,7 @@ fn create_table_info(
};

let desc = if create_table.desc.is_empty() {
create_table.table_options.get("comment").cloned()
create_table.table_options.get(COMMENT_KEY).cloned()
} else {
Some(create_table.desc.clone())
};
Expand Down

0 comments on commit 0dd21e8

Please sign in to comment.