diff --git a/src/graph/executor/admin/SpaceExecutor.cpp b/src/graph/executor/admin/SpaceExecutor.cpp index 95f0602ba0d..b07c34a2fb4 100644 --- a/src/graph/executor/admin/SpaceExecutor.cpp +++ b/src/graph/executor/admin/SpaceExecutor.cpp @@ -76,7 +76,6 @@ folly::Future DescSpaceExecutor::execute() { "Charset", "Collate", "Vid Type", - "Atomic Edge", "Comment"}; Row row; row.values.emplace_back(spaceId); @@ -86,12 +85,6 @@ folly::Future DescSpaceExecutor::execute() { row.values.emplace_back(properties.get_charset_name()); row.values.emplace_back(properties.get_collate_name()); row.values.emplace_back(SchemaUtil::typeToString(properties.get_vid_type())); - bool sAtomicEdge{false}; - if (properties.isolation_level_ref().has_value() && - (*properties.isolation_level_ref() == meta::cpp2::IsolationLevel::TOSS)) { - sAtomicEdge = true; - } - row.values.emplace_back(sAtomicEdge); if (properties.comment_ref().has_value()) { row.values.emplace_back(*properties.comment_ref()); diff --git a/tests/tck/features/schema/Comment.feature b/tests/tck/features/schema/Comment.feature index d157eb98847..43799123ece 100644 --- a/tests/tck/features/schema/Comment.feature +++ b/tests/tck/features/schema/Comment.feature @@ -22,8 +22,8 @@ Feature: Schema Comment DESC SPACE ; """ Then the result should be, in any order: - | ID | Name | Partition Number | Replica Factor | Charset | Collate | Vid Type | Atomic Edge | Comment | - | /\d+/ | "" | 100 | 1 | "utf8" | "utf8_bin" | "FIXED_STRING(8)" | false | "" | + | ID | Name | Partition Number | Replica Factor | Charset | Collate | Vid Type | Comment | + | /\d+/ | "" | 100 | 1 | "utf8" | "utf8_bin" | "FIXED_STRING(8)" | "" | When executing query: """ DROP SPACE ; @@ -47,15 +47,15 @@ Feature: Schema Comment SHOW CREATE SPACE test_comment_not_set; """ Then the result should be, in any order: - | Space | Create Space | - | "test_comment_not_set" | /[CREATE SPACE `test_comment_not_set` \(partition_num = 100, replica_factor = 1, charset = utf8, collate = utf8_bin, vid_type = FIXED_STRING\(8\), atomic_edge = false\) ON]+\s(\w*)/ | + | Space | Create Space | + | "test_comment_not_set" | /[CREATE SPACE `test_comment_not_set` \(partition_num = 100, replica_factor = 1, charset = utf8, collate = utf8_bin, vid_type = FIXED_STRING\(8\), \) ON]+\s(\w*)/ | When executing query: """ DESC SPACE test_comment_not_set; """ Then the result should be, in any order: - | ID | Name | Partition Number | Replica Factor | Charset | Collate | Vid Type | Atomic Edge | Comment | - | /\d+/ | "test_comment_not_set" | 100 | 1 | "utf8" | "utf8_bin" | "FIXED_STRING(8)" | false | EMPTY | + | ID | Name | Partition Number | Replica Factor | Charset | Collate | Vid Type | Comment | + | /\d+/ | "test_comment_not_set" | 100 | 1 | "utf8" | "utf8_bin" | "FIXED_STRING(8)" | EMPTY | When executing query: """ DROP SPACE test_comment_not_set; @@ -74,15 +74,15 @@ Feature: Schema Comment SHOW CREATE SPACE test_comment_empty; """ Then the result should be, in any order: - | Space | Create Space | - | "test_comment_empty" | /[CREATE SPACE `test_comment_empty` \(partition_num = 100, replica_factor = 1, charset = utf8, collate = utf8_bin, vid_type = FIXED_STRING\(8\), atomic_edge = false\) ON]+\s(\w*)\s[comment = '']+/ | + | Space | Create Space | + | "test_comment_empty" | /[CREATE SPACE `test_comment_empty` \(partition_num = 100, replica_factor = 1, charset = utf8, collate = utf8_bin, vid_type = FIXED_STRING\(8\), \) ON]+\s(\w*)\s[comment = '']+/ | When executing query: """ DESC SPACE test_comment_empty; """ Then the result should be, in any order: - | ID | Name | Partition Number | Replica Factor | Charset | Collate | Vid Type | Atomic Edge | Comment | - | /\d+/ | "test_comment_empty" | 100 | 1 | "utf8" | "utf8_bin" | "FIXED_STRING(8)" | false | "" | + | ID | Name | Partition Number | Replica Factor | Charset | Collate | Vid Type | Comment | + | /\d+/ | "test_comment_empty" | 100 | 1 | "utf8" | "utf8_bin" | "FIXED_STRING(8)" | "" | When executing query: """ DROP SPACE test_comment_empty;