wiedld commented on code in PR #17250:
URL: https://github.com/apache/datafusion/pull/17250#discussion_r2286506758
##########
datafusion/optimizer/src/optimize_projections/mod.rs:
##########
@@ -55,6 +55,24 @@ use datafusion_common::tree_node::{
/// The rule analyzes the input logical plan, determines the necessary column
/// indices, and then removes any unnecessary columns. It also removes any
/// unnecessary projections from the plan tree.
+///
+/// ## Schema, Field Properties, and Metadata Handling
+///
+/// The `OptimizeProjections` rule preserves schema and field metadata in most
optimization scenarios:
Review Comment:
This summarizes how the `OptimizeProjections` handles the schema, field
props, and metadata.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]