Skip to content

Commit

Permalink
[enhancement](show) Move storage policy info from show create table t…
Browse files Browse the repository at this point in the history
…o show partitions (#39923) (#40823)


pick: #39923
  • Loading branch information
TangSiyang2001 authored Sep 18, 2024
1 parent a0e1d4c commit e327e70
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,6 @@ public String toSql(OlapTable table, List<Long> partitionId) {
}
sb.append(")");

Optional.ofNullable(this.idToStoragePolicy.get(entry.getKey())).ifPresent(p -> {
if (!p.equals("")) {
sb.append("PROPERTIES (\"STORAGE POLICY\" = \"");
sb.append(p).append("\")");
}
});

if (partitionId != null) {
partitionId.add(entry.getKey());
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,6 @@ public String toSql(OlapTable table, List<Long> partitionId) {
sb.append(range.lowerEndpoint().toSql());
sb.append(", ").append(range.upperEndpoint().toSql()).append(")");

Optional.ofNullable(this.idToStoragePolicy.get(entry.getKey())).ifPresent(p -> {
if (!p.equals("")) {
sb.append("PROPERTIES (\"STORAGE POLICY\" = \"");
sb.append(p).append("\")");
}
});

if (partitionId != null) {
partitionId.add(entry.getKey());
break;
Expand Down

0 comments on commit e327e70

Please sign in to comment.