You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "dexterduck (via GitHub)" <gi...@apache.org> on 2023/07/11 15:32:18 UTC

[GitHub] [arrow-datafusion] dexterduck opened a new pull request, #6920: Preserve field metadata across expressions in logical plans

dexterduck opened a new pull request, #6920:
URL: https://github.com/apache/arrow-datafusion/pull/6920

   # Which issue does this PR close?
   
   Closes #6886.
   
   # Rationale for this change
   
   This change improves support for extension types by allowing access to field metadata at the logical planning stage.
   
   # What changes are included in this PR?
   
   - Added `ExprSchemable::metadata` method.
     - Forwards metadata for column and alias expressions
     - All other expressions return empty metadata
   - Updated `ExprSchemable::to_field` to populate field metadata.
   - Added metadata utility methods `metadata` and `with_metadata` to `DFField` to match `Field` methods in `arrow-rs`.
   
   # Are these changes tested?
   
   Yes
   
   # Are there any user-facing changes?
   
   No


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

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


[GitHub] [arrow-datafusion] alamb merged pull request #6920: Preserve field metadata across expressions in logical plans

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb merged PR #6920:
URL: https://github.com/apache/arrow-datafusion/pull/6920


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

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


[GitHub] [arrow-datafusion] alamb commented on pull request #6920: Preserve field metadata across expressions in logical plans

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #6920:
URL: https://github.com/apache/arrow-datafusion/pull/6920#issuecomment-1632981736

   FYI @mustafasrepo  -- related to https://github.com/apache/arrow-datafusion/discussions/6839 -- this is another example where if `DFField` was some sort of wrapper around an arrow field it would likely be easier to use as well as faster


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

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