jkosh44 opened a new pull request, #16503:
URL: https://github.com/apache/datafusion/pull/16503

   ## Which issue does this PR close?
   
   - Closes #16285.
   
   ## Rationale for this change
   
   This commit adds support for Arrow Duration types in Substrait plans. 
Substrait has no equivalent to the Duration type, which only includes 
time-based information (i.e. some multiple of nanoseconds). However, the 
Substrait Interval Day type is very similar, it stores day and time-based 
information. This commit converts Arrow Duration types into Substrait Interval 
Day types, with a Duration specific type variation reference, so that it can 
round trip back to a Duration.
   
   An alternative approach would be to use a new Substrait user defined type.
   
   ## What changes are included in this PR?
   
   <!--
   There is no need to duplicate the description in the issue here but it is 
sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   ## Are these changes tested?
   
   Yes 
   
   ## Are there any user-facing changes?
   
   Substrait now support Duration types
   


-- 
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-unsubscr...@datafusion.apache.org

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


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

Reply via email to