You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2023/06/13 00:51:52 UTC
[doris] branch branch-1.2-lts updated: [Fix](planner)fix create table like stmt from a table distributed by random error. #20700
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new d1f64fd24c [Fix](planner)fix create table like stmt from a table distributed by random error. #20700
d1f64fd24c is described below
commit d1f64fd24cdcef184ff4c68e0f82bfcf4d702d3b
Author: mch_ucchi <41...@users.noreply.github.com>
AuthorDate: Tue Jun 13 08:51:46 2023 +0800
[Fix](planner)fix create table like stmt from a table distributed by random error. #20700
---
.../main/java/org/apache/doris/catalog/RandomDistributionInfo.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/RandomDistributionInfo.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/RandomDistributionInfo.java
index 31371e7799..3c63546ffc 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/RandomDistributionInfo.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/RandomDistributionInfo.java
@@ -56,9 +56,9 @@ public class RandomDistributionInfo extends DistributionInfo {
public String toSql() {
StringBuilder builder = new StringBuilder();
if (autoBucket) {
- builder.append("DISTRIBUTED BY RANDOM() BUCKETS AUTO");
+ builder.append("DISTRIBUTED BY RANDOM BUCKETS AUTO");
} else {
- builder.append("DISTRIBUTED BY RANDOM() BUCKETS ").append(bucketNum);
+ builder.append("DISTRIBUTED BY RANDOM BUCKETS ").append(bucketNum);
}
return builder.toString();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org