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

关于函数封装的建议 #69

Open
augustinexx opened this issue Dec 7, 2020 · 2 comments
Open

关于函数封装的建议 #69

augustinexx opened this issue Dec 7, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@augustinexx
Copy link

我在做一个项目,里面用了中位数和百分位数的计算,突然发现mysql 不支持,看了clickhouse 和hive 写法不太一样

想想老哥的项目能提供统一API 就好很多了。

@catchex
Copy link
Member

catchex commented Dec 7, 2020

好建议,但具体需要统一哪些SQL 函数是个比较麻烦的问题,不同行业使用的函数不太一样,所有的都统一成本太高,而且效果不见得有多好。

@catchex catchex self-assigned this Dec 7, 2020
@catchex catchex added the enhancement New feature or request label Dec 7, 2020
@yeongher
Copy link
Contributor

yeongher commented Dec 7, 2020

我觉得函数的封装意义不大,
1)首先,每个应用系统有明确的数据库选择,适应不同数据库的场景不多。
2)不同数据库支持的统计类函数差别比较大,而且不仅仅是语法不一样,还有使用方法也不同

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

No branches or pull requests

3 participants