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

[I] Implement `preimage` for `ceil` and `round` functions [datafusion]

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

   > @devanshu0987 it seems like a similar technique could be used for `ceil` -- if you agree I will file a ticket to track
   
   Hi @alamb , I would like to attempt this technique for the following functions
   
   - `ceil` and `round`
     - `ceil(x) = 5` -> `(4, 5]` 
     - `round(x) = 5` -> `[4.5, 5.5)` 
   - String Prefix Functions
     - `left(s, 2) = 'AB'` -> Lexicographically `['AB', 'AC')`
       - Not sure if this is already implemented.
       - Not sure how complex this will be for Non latin strings etc.
   
   _Originally posted by @devanshu0987 in https://github.com/apache/datafusion/issues/20099#issuecomment-3845736417_
               


-- 
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] Implement `preimage` for `ceil` and `round` functions [datafusion]

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

   Hi @0xPoe 
   are you working on this? If not, can I take a stab at this issue?


-- 
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] Implement `preimage` for `ceil` and `round` functions [datafusion]

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

   @devanshu0987 are you working on this? If not, can I take a stab at it?


-- 
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] Implement `preimage` for `ceil` and `round` functions [datafusion]

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

   take


-- 
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] Implement `preimage` for `ceil` and `round` functions [datafusion]

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

   @alamb submitted PR https://github.com/apache/datafusion/pull/22656 to address this requirement.


-- 
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] Implement `preimage` for `ceil` and `round` functions [datafusion]

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

   take


-- 
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] Implement `preimage` for `ceil` and `round` functions [datafusion]

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

   untake


-- 
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] Implement `preimage` for `ceil` and `round` functions [datafusion]

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

   take


-- 
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