You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/05/13 11:13:37 UTC

[GitHub] [arrow-datafusion] alamb opened a new pull request #335: Demonstrate binding NOW() during planning (ALTERNATE TO StatefulFunction)

alamb opened a new pull request #335:
URL: https://github.com/apache/arrow-datafusion/pull/335


   This PR is based off of https://github.com/apache/arrow-datafusion/pull/288 from @msathis 
   
   It is not meant to be merged, but rather demonstrate an alternate method of having the `now()` function return the same constant. 
   
   The challenge is that when invoked, we want the `now()` function, however many times it is called, to always return the same value. This PR implements this logic by using a closure to capture the value for `now()` picked at plan time in https://github.com/apache/arrow-datafusion/commit/261e76982178dfcc723aa9b2842e7b4d1d4a4b87
   


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

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



[GitHub] [arrow-datafusion] alamb closed pull request #335: Demonstrate binding NOW() during planning (ALTERNATE TO StatefulFunction)

Posted by GitBox <gi...@apache.org>.
alamb closed pull request #335:
URL: https://github.com/apache/arrow-datafusion/pull/335


   


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

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



[GitHub] [arrow-datafusion] alamb commented on pull request #335: Demonstrate binding NOW() during planning (ALTERNATE TO StatefulFunction)

Posted by GitBox <gi...@apache.org>.
alamb commented on pull request #335:
URL: https://github.com/apache/arrow-datafusion/pull/335#issuecomment-841410480


   Incorporated into #288


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

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