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

SCQL中orderby问题 #209

Open
JiPZou opened this issue Jan 9, 2024 · 5 comments
Open

SCQL中orderby问题 #209

JiPZou opened this issue Jan 9, 2024 · 5 comments
Assignees

Comments

@JiPZou
Copy link

JiPZou commented Jan 9, 2024

No description provided.

@JiPZou JiPZou closed this as completed Jan 9, 2024
@JiPZou
Copy link
Author

JiPZou commented Jan 9, 2024

请问,目前不支持orderby是因为需要两两之间进行比较,计算量太大了吗?

@JiPZou JiPZou reopened this Jan 9, 2024
@JiPZou JiPZou changed the title SCQL中orderby SCQL中orderby问题 Jan 9, 2024
@tongke6 tongke6 self-assigned this Jan 9, 2024
@tongke6
Copy link
Collaborator

tongke6 commented Jan 9, 2024

密态下进行比较的开销较大,主要是通信开销打,导致耗时较长。

目前不支持 order by 的原因主要有两点:

  1. order by 在密态下计算开销太大,用户拿到结果后也可以明文进行 sort 得到结果,在这种场景下是可替代的。
  2. order by 暂无 CCL 约束可以覆盖。

不过这些都是实现上的考虑,都是可以解决的,未来会考虑支持 order by。

@tyrone-yu
Copy link
Contributor

请问下,能简要描述下您的需求场景么?

@JiPZou
Copy link
Author

JiPZou commented Jan 9, 2024

就是想咨询一下为什么不支持,顺便想请问一下如果实现的话,实现的原理是什么样的?应该怎么解决呢?

请问下,能简要描述下您的需求场景么?

@tongke6
Copy link
Collaborator

tongke6 commented Jan 9, 2024

抱歉,因为计划还未实施,暂无更多的信息透出。

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

3 participants