Skip to content

Commit

Permalink
optimize field name
Browse files Browse the repository at this point in the history
  • Loading branch information
seawinde committed Sep 3, 2024
1 parent bdacce6 commit 6b947e1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ private List<MaterializationContext> createAsyncMaterializationContext(CascadesC
mtmvCache = materializedView.getOrGenerateCache(cascadesContext.getConnectContext());
// If mv property is_used_in_rewritten_by_materialized_view is set false, should not partition in
// query rewrite by materialized view
String isUsedByRewritten = materializedView.getMvProperties().get(
String isUsedByRewrite = materializedView.getMvProperties().get(
PropertyAnalyzer.PROPERTIES_IS_USED_IN_REWRITE);
if (!StringUtils.isEmpty(isUsedByRewritten) && !Boolean.parseBoolean(isUsedByRewritten)) {
LOG.debug(String.format("mv doesn't part in query rewrite because "
if (!StringUtils.isEmpty(isUsedByRewrite) && !Boolean.parseBoolean(isUsedByRewrite)) {
LOG.debug(String.format("mv doesn't part in query rewrite process because "
+ "is_used_in_rewrite is false, mv is %s",
materializedView.getName()));
continue;
Expand Down

0 comments on commit 6b947e1

Please sign in to comment.