You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "comphead (via GitHub)" <gi...@apache.org> on 2026/05/28 16:36:17 UTC

[I] Implement Spark `pow` function [datafusion]

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

   ### Is your feature request related to a problem or challenge?
   
   For query `select pow(0, -1)` the Datafusion `pow` fails with error, Spark variant should return Inf
   
   ```
   scala> spark.sql("select pow(0, -1)").show(false)
   +----------+
   |pow(0, -1)|
   +----------+
   |Infinity  |
   +----------+
   ```
   
   ### 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] Implement Spark `pow` function [datafusion]

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

   @comphead I have opened the PR and done with the suggestions from copilot 
   could u please review it once, so if any other changes are needed so i can work on them else we could just merge it if everything seems good to u


-- 
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 Spark `pow` function [datafusion]

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

   Thanks @Brijesh-Thakkar 


-- 
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 Spark `pow` function [datafusion]

Posted by "comphead (via GitHub)" <gi...@apache.org>.
comphead closed issue #22598: Implement Spark `pow` function
URL: https://github.com/apache/datafusion/issues/22598


-- 
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 Spark `pow` function [datafusion]

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

   @comphead Hii
   As i am restarting my Open source contribution and also i am new to this repo
   Earlier i contributed in apache/streampipes and datafusion-comet
   Ig i should start with this issue
   Will raise a PR for this issue
   Please assign it to me please


-- 
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 Spark `pow` function [datafusion]

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

   @comphead I have removed tests as u suggested and also added more edge cases 
   Thanks


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