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

fix: asc -> nulls first #6545

Merged
merged 1 commit into from
Jul 8, 2022
Merged

fix: asc -> nulls first #6545

merged 1 commit into from
Jul 8, 2022

Conversation

gaoxinge
Copy link
Contributor

@gaoxinge gaoxinge commented Jul 8, 2022

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Summary about this PR

Fixes asc -> nulls first

@vercel
Copy link

vercel bot commented Jul 8, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Jul 8, 2022 at 7:53AM (UTC)

@mergify mergify bot added the pr-bugfix this PR patches a bug in codebase label Jul 8, 2022
@@ -156,7 +156,7 @@ impl QueryNormalizer {
.push(Expression::Sort {
expr: Box::new(expression.clone()),
asc: order_by_expr.asc.unwrap_or(true),
nulls_first: order_by_expr.asc.unwrap_or(true),
nulls_first: order_by_expr.nulls_first.unwrap_or(true),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you~

@BohuTANG BohuTANG merged commit dadb1cf into databendlabs:main Jul 8, 2022
@gaoxinge gaoxinge deleted the fix branch July 8, 2022 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix this PR patches a bug in codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants