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

Re: [I] [Feature] Support Spark expression: current_batch_timestamp [datafusion-comet]

andygrove commented on issue #3104:
URL: https://github.com/apache/datafusion-comet/issues/3104#issuecomment-5113046429

   `CurrentBatchTimestamp` never reaches Comet's expression serde. It is streaming-only, and `IncrementalExecution` replaces it with a `Literal` on the optimized logical plan before physical planning (SPARK-18339):
   
   ```scala
   case ts @ CurrentBatchTimestamp(timestamp, _, _) => ts.toLiteral
   ```
   
   By the time a plan reaches Comet the expression is already a constant.
   
   Closing as not actionable as specified.


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