StarRocks / starrocks

StarRocks, a Linux Foundation project, is a next-generation sub-second MPP OLAP database for full analytics scenarios, including multi-dimensional analytics, real-time analytics, and ad-hoc queries.
https://starrocks.io
Apache License 2.0
8.63k stars 1.74k forks source link

[function] array_repeat #19658

Closed wangsimo0 closed 1 week ago

wangsimo0 commented 1 year ago

description

array_repeat (element, count)

in which, element: can be any data type that supported in an array, including array. count: integer

examples

select array_repeat(1,5) ;
[1,1,1,1,1]

select  array_repeat([1,2],3);
[[1,2],[1,2],[1,2]]
lqkkkkk commented 1 year ago

Hi @kateshaowanjou , can you assign this array_repeat to me? At this time I will definitely make it, Thank you. best wishes:)

wangxiaobaidu11 commented 1 year ago

hi I am beike olap developer. Can you assign me ?

kateshaowanjou commented 1 year ago

@wangxiaobaidu11 sorry, someone before you already asked for this issue. Can you take another one? ❤️

liangjiawei1110 commented 1 year ago

I'd like to try it.

kateshaowanjou commented 1 year ago

@liangjiawei1110 Hi there, are you still working on this issue? If you need any help, you can add my wechat:wanjoushao. Thx.

github-actions[bot] commented 8 months ago

We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!

kimmking commented 7 months ago

@kateshaowanjou May I pick this task?

wangsimo0 commented 7 months ago

@kimmking of course, thank you so much. also this function will help sr's trino's compatibility. when you developing this function, could you plz also consider the convert? I think it can be fixed in Trino2SRFunctionCallTransformer

chenminghua8 commented 2 months ago

@kimmking Can you assign this task to me?

kateshaowanjou commented 2 months ago

@kimmking Can you assign this task to me?

I'm glad to see that you are willing to work on it. I've assigned this task to you since it was taken a long time ago by kimmking and we have not yet seen a PR, I suppose he's not working on it.

chenminghua8 commented 2 months ago

OK, I'm developing this feature.

chenminghua8 commented 2 months ago

Why can't the RP I submitted execute the test process?

chenminghua8 commented 2 months ago

Why don't code owners do code reviews?