Skip to content

Conversation

@Mryange
Copy link
Contributor

@Mryange Mryange commented May 16, 2023

Proposed changes

in 1.2.4.1 , this #15339 has not been merged correctly.

CREATE TABLE `klcxkj` (
  `id` int(11) NULL,
  `name` varchar(20) NULL
) ENGINE=OLAP
UNIQUE KEY(`id`)
COMMENT 'OLAP'
DISTRIBUTED BY HASH(`id`) BUCKETS 1
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"in_memory" = "false",
"storage_format" = "V2",
"disable_auto_compaction" = "false"
); 

insert into klcxkj values (1, 'abcde');

select collect_list(name, 2) from klcxkj;
ERROR 1105 (HY000): errCode = 2, detailMessage = No matching function with signature: collect_list(varchar(20), tinyint(4)).

now

mysql [test]>select collect_list(name, 2) from klcxkj;
+-------------------------+
| collect_list(`name`, 2) |
+-------------------------+
| ['abcde']               |
+-------------------------+
1 row in set (0.00 sec)

Problem summary

Describe your changes.

Checklist(Required)

  • Does it affect the original behavior
  • Has unit tests been added
  • Has document been added or modified
  • Does it need to update dependencies
  • Is this PR support rollback (If NO, please explain WHY)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@github-actions github-actions bot added area/planner Issues or PRs related to the query planner area/vectorization kind/test labels May 16, 2023
@Mryange
Copy link
Contributor Author

Mryange commented May 16, 2023

run buiilall

@HappenLee HappenLee merged commit 103ffb7 into apache:branch-1.2-lts May 16, 2023
@Mryange Mryange deleted the my-1.2.4 branch August 28, 2023 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/planner Issues or PRs related to the query planner area/vectorization kind/test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants