From 7664601bb40beb14c045aecb2675aa6e5e093135 Mon Sep 17 00:00:00 2001 From: eldenmoon <15605149486@163.com> Date: Fri, 24 May 2024 14:01:52 +0800 Subject: [PATCH] [Fix](Row store) forbit create MTMV with row store --- .../java/org/apache/doris/datasource/InternalCatalog.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java index e2d84594547e8e..0d8576d897a0e8 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java @@ -2503,6 +2503,10 @@ private void createOlapTable(Database db, CreateTableStmt stmt) throws UserExcep throw new DdlException( "Row store column rely on light schema change, enable light schema change first"); } + if (storeRowColumn && olapTable instanceof MTMV) { + throw new DdlException( + "Not support store_row_column in MTMV"); + } } catch (AnalysisException e) { throw new DdlException(e.getMessage()); }