Skip to content

Commit

Permalink
feat(nimtable): enable create index on iceberg table (#18526)
Browse files Browse the repository at this point in the history
  • Loading branch information
Li0k authored and chenzl25 committed Sep 25, 2024
1 parent 832c321 commit 730e7b9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/frontend/src/handler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1038,18 +1038,6 @@ fn check_ban_ddl_for_iceberg_engine_table(
stmt: &Statement,
) -> Result<()> {
match stmt {
Statement::CreateIndex { table_name, .. } => {
let (table, schema_name) =
get_table_catalog_by_table_name(session.as_ref(), table_name)?;
if table.is_iceberg_engine_table() {
bail!(
"CREATE INDEX is not supported for iceberg table: {}.{}",
schema_name,
table_name
);
}
}

Statement::AlterTable {
name,
operation:
Expand Down

0 comments on commit 730e7b9

Please sign in to comment.