Skip to content

Commit

Permalink
[Feature](materialized-view) support mv with bitmap_union(bitmap_from…
Browse files Browse the repository at this point in the history
…_array()) case (#31962)

support mv with bitmap_union(bitmap_from_array()) case
  • Loading branch information
BiteTheDDDDt authored and Doris-Extras committed Mar 9, 2024
1 parent 679cd0a commit 19e6ebd
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 271 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ protected String toSqlImpl() {
List<String> list = new ArrayList<>(children.size());
children.forEach(v -> list.add(v.toSqlImpl()));

return "ARRAY(" + StringUtils.join(list, ", ") + ")";
return "[" + StringUtils.join(list, ", ") + "]";
}

@Override
public String toDigestImpl() {
List<String> list = new ArrayList<>(children.size());
children.forEach(v -> list.add(v.toDigestImpl()));

return "ARRAY(" + StringUtils.join(list, ", ") + ")";
return "[" + StringUtils.join(list, ", ") + "]";
}

@Override
Expand Down
Loading

0 comments on commit 19e6ebd

Please sign in to comment.