You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Banyc (via GitHub)" <gi...@apache.org> on 2026/02/09 04:04:12 UTC

[I] Better API for `Expr::sort(bool, bool)` [datafusion]

Banyc opened a new issue, #20227:
URL: https://github.com/apache/datafusion/issues/20227

   ### Is your feature request related to a problem or challenge?
   
   Current implementation:
   
   ```rust
   col("a").sort(true, false);
   ```
   
   vs.
   
   Suggested implementation:
   
   ```rust
   col("a").sort(SortOpt::AscNullFirst);
   col("a").sort(SortOpt{ asc: true, null_first: false });
   col("a").sort().asc().null_first();
   ```
   
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Better API for `Expr::sort(bool, bool); // acktually BOOL BOOL` [datafusion]

Posted by "Banyc (via GitHub)" <gi...@apache.org>.
Banyc commented on issue #20227:
URL: https://github.com/apache/datafusion/issues/20227#issuecomment-3872281384

   https://github.com/apache/datafusion/pull/20229/changes/4f32396ce109dda2a89fb78febf9e965160e4948..93dd5ca4bc5317406e4d04a2c5bac11df4251507#diff-2c65c30aba64a22266b6969c54665c9db3badb4668aa88e920dd411ee2000a85L11-L16
   
   crazy work.
   
   ~30 days~ 1 day before AI replacing humans for sure
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Better API for `Expr::sort(bool, bool); // acktually BOOL BOOL` [datafusion]

Posted by "Sahitya0805 (via GitHub)" <gi...@apache.org>.
Sahitya0805 commented on issue #20227:
URL: https://github.com/apache/datafusion/issues/20227#issuecomment-3870225999

   Hi, I would like to work on this issue. Could you please assign it to me?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org