etseidl commented on code in PR #8312:
URL: https://github.com/apache/arrow-rs/pull/8312#discussion_r2345527388


##########
parquet/src/schema/types.rs:
##########
@@ -1063,6 +1077,13 @@ impl SchemaDescriptor {
         self.leaves.len()
     }
 
+    /// Gets the index of a column its dotstring path, or -1 if not found.
+    pub fn column_index(&self, node_path: &ColumnPath) -> i64 {

Review Comment:
   I think it would be better for this to return `Option<i64>`.



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

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

Reply via email to