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.65k stars 1.75k forks source link

Support function array_repeat in StarRocks【Easy】 #4013

Closed wuqiao closed 2 years ago

wuqiao commented 2 years ago

Requirement Description

intput: ARRAY_ANY, int output: ARRAY_ANY repeat the array. eg: array_repeat([1,2], 2) -> [1,2,1,2] array_repeat(NULL, 2) -> NULL array_repeat([], 2) -> []

Mentor

@stdpain

Registration procedure

Step 1. Add a comment when you sign up. The comment can be a brief self-introduction and reason for signing up, including what you do, what you're good at, what you're interested in and your technology stack, and how familiar you are with StarRocks. Example:

I pick! My name is Johnny. I am from StarRocks and I have been working on database kernel development for 1 year. I am interested in OLAP, good at C++ programming, and have been using StarRocks for 6 months. I chose to solve this issue because I am familiar with execution engine.

Step 2. On your WeChat, add the StarRocks community assistant "StarRocks-1" as a Wechat friend and leave your GitHub ID. The assistant will invite you to a Wechat group based on the issue you picked.

Step 3. The mentor will communicate with all the participants who picked this issue and assign the task to the best match.

Before you start

  1. Read the StarRocks GitHub workflow carefully, which provides the configurations of BE and FE and describes how to submit a pull request.
  2. To learn more about StarRocks, read StarRocks documentation.

Pull request requirements

  1. After you complete code development, upload the code to the StarRocks code repo as a pull request (PR).

    • PR title format: [SR GeekCamp] + PR title
    • Labels :[Geek Camp 2022/feature]
  2. After you submit your PR, comment on the status of your PR submission as requested under the Pinned Issue [StarRocks geek Camp 2022] page.

    • Comment format: "I have finished Issue #" + PR link id
CoderfishGzh commented 2 years ago

I pick! My name is Gzh.I am a first year graduate student.I am interested in database knowledge and want to establish my roots in the database field.I am good at Golang,and understanding of C++ and Rust.I chose to this problem because i want to have chance to participation in actual projects and improve myself.

bigdataMS commented 2 years ago

My name is WangMan. I'd like to pick this issue. I started using it very early StarRocks. From version 1.14 to 2.1. I chose to solve this problem because I am familiar with using starrocks and I am big data development engineer from beijing and good at Java programming and a little knowledge of C + + programming.I hope I can contribute a little to the community. Complete the task