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

Enable ordering for DruidScanQuery #168

Open
pm-src opened this issue May 21, 2021 · 1 comment
Open

Enable ordering for DruidScanQuery #168

pm-src opened this issue May 21, 2021 · 1 comment

Comments

@pm-src
Copy link

pm-src commented May 21, 2021

Code change needed:

in.zapr.druid.druidry.query.scan.DruidScanQuery.java

private String order;

@builder
private DruidCustomScanQuery(@nonnull DataSource dataSource, List virtualColumns, ..........
.......
Long limit, Boolean legacy, Context context) {
.
.
.
this.order = order;
if (order != null) {
Preconditions.checkArgument((order.equals("ascending") || order.equals("descending")),
"only order ascending or descending is supported");
}
.
.
.

}

}

@szymeker
Copy link

Ready for review #173

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

2 participants