Skip to content
New issue

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

[Good First Issue] Support All SQL Functions in Other SQL System #48203

Open
6 of 17 tasks
zclllyybb opened this issue Feb 22, 2025 · 7 comments
Open
6 of 17 tasks

[Good First Issue] Support All SQL Functions in Other SQL System #48203

zclllyybb opened this issue Feb 22, 2025 · 7 comments

Comments

@zclllyybb
Copy link
Contributor

zclllyybb commented Feb 22, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

Description

We plan to implement all SQL functions in other famous DBs, like MySQL, PG, Trino, CK, Hive, and more. Facilitate the users to migrate to Doris. They're very suitable for newcomers as your first Doris PR. So here's the list, you can comment to pick anyone:

Part I. Hive

  • context_ngrams @noixcn
  • encode, decode
  • factorial (Easy) @Czylm
  • length (Our length is like Hive's octet_length) (Easy)
  • printf
  • str_to_map (another map creator)
  • levenshtein @lichenran0330
  • soundex (Easy)
  • mask_show_first_n, mask_show_last_n (Easy)
  • mask_hash @cypppper
  • inline (lateral view)
  • stack (lateral view)
  • json_tuple (lateral view)
  • parse_url_tuple (lateral view)

See the newest Hive document for these functions' explanation.

Feel free to comment to pick anyone! If one is picked, I will tick it.

Solution

All the guidelines to implement an SQL function are in #48201.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@noixcn
Copy link

noixcn commented Feb 22, 2025

I'd like to take context_ngrams, if that's okay.

@cypppper
Copy link

I want to take mask_hash

@lichenran0330
Copy link

I'd like to take levenshtein, if that's okay.

@Czylm
Copy link

Czylm commented Feb 22, 2025

I'd like to factorial, if that's okay.

@zclllyybb
Copy link
Contributor Author

@noixcn @cypppper @lichenran0330 @Czylm done!

@meox3259
Copy link

I'd like to take inline, if that's okay.

@koi2000
Copy link

koi2000 commented Feb 23, 2025

I'd like to take soundex, if that's okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants