We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create table t ( `c0` int, `c1` int, `c2` int ) engine=OLAP primary key(`c0`) distributed by hash(`c0`) buckets 1 properties("replication_num"="1"); insert into t values (1,1,1),(2,2,2),(3,3,1),(4,4,2);
mysql> set pipeline_dop=2; Query OK, 0 rows affected (0.00 sec) mysql> select c2,count(distinct c1,c2) from t group by c2; +------+------------------------+ | c2 | count(DISTINCT c1, c2) | +------+------------------------+ | 2 | 1 | | 1 | 2 | | 2 | 1 | +------+------------------------+ 3 rows in set (0.01 sec)
mysql> select c2,count(distinct c1,c2) from t group by c2; +------+------------------------+ | c2 | count(DISTINCT c1, c2) | +------+------------------------+ | 1 | 2 | | 2 | 2 | +------+------------------------+ 2 rows in set (0.01 sec)
mysql> select current_version(); +-------------------+ | current_version() | +-------------------+ | main-43db8fe | +-------------------+ 1 row in set (0.01 sec)
The text was updated successfully, but these errors were encountered:
before-Sunrise
Successfully merging a pull request may close this issue.
Steps to reproduce the behavior (Required)
Expected behavior (Required)
Real behavior (Required)
StarRocks version (Required)
mysql> select current_version();
+-------------------+
| current_version() |
+-------------------+
| main-43db8fe |
+-------------------+
1 row in set (0.01 sec)
The text was updated successfully, but these errors were encountered: