ch-sc commented on code in PR #7833:
URL: https://github.com/apache/arrow-datafusion/pull/7833#discussion_r1363540750


##########
datafusion/optimizer/src/push_down_projection.rs:
##########
@@ -423,7 +426,93 @@ pub fn collect_projection_expr(projection: &Projection) -> 
HashMap<String, Expr>
         .collect::<HashMap<_, _>>()
 }
 
-// Get the projection exprs from columns in the order of the schema
+/// Accumulate the memory size of a data type measured in bits.
+///
+/// Nested types are traversed and increment `nesting` on every level.

Review Comment:
   Makes sense. Added a comment about variable sized types. Feel free to 
rephrase if you think something is missing.



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

Reply via email to