zhuqi-lucas commented on issue #15162: URL: https://github.com/apache/datafusion/issues/15162#issuecomment-2714878036
Adding a config to support relax name checking is a good solution to me: If field A and field B only the name is different, but we only check other part besides name, so we can pass it. Besides above solution, workaround may be calling the with_name function when using the field? For example: ``` /// # use arrow_schema::*; /// let field = Field::new("c1", DataType::Int64, false) /// .with_name("c2"); /// /// assert_eq!(field.name(), "c2"); ``` -- 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