Skip to content

Commit 5cac8f7

Browse files
committed
REFRESH VIEWS seems to not work
1 parent 9ad9256 commit 5cac8f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Client/BuzzHouse/AST/SQLProtoStr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4428,7 +4428,7 @@ CONV_FN(SystemCommand, cmd)
44284428
can_set_cluster = true;
44294429
break;
44304430
default:
4431-
ret += "REFRESH VIEW";
4431+
ret += "FLUSH LOGS";
44324432
}
44334433
if (can_set_cluster && cmd.has_cluster())
44344434
{

src/Client/BuzzHouse/Generator/StatementGenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2060,7 +2060,7 @@ void StatementGenerator::generateNextSystemStatement(RandomGenerator & rg, const
20602060
const uint32_t unload_pks = 3;
20612061
const uint32_t unload_pk = 8 * has_merge_tree;
20622062
/// for refreshable views
2063-
const uint32_t refresh_views = 3;
2063+
const uint32_t refresh_views = 0;
20642064
const uint32_t refresh_view = 8 * has_refreshable_view;
20652065
const uint32_t stop_views = 3;
20662066
const uint32_t stop_view = 8 * has_refreshable_view;

0 commit comments

Comments
 (0)