haohuaijin commented on code in PR #9595:
URL: https://github.com/apache/arrow-datafusion/pull/9595#discussion_r1527745723
##########
datafusion/common/src/dfschema.rs:
##########
@@ -619,75 +779,77 @@ impl DFSchema {
/// Strip all field qualifier in schema
pub fn strip_qualifiers(self) -> Self {
DFSchema {
- fields: self
- .fields
- .into_iter()
- .map(|f| f.strip_qualifier())
- .collect(),
- ..self
+ inner: self.inner.clone(),
+ field_qualifiers: vec![None; self.inner.fields.len()],
+ functional_dependencies: self.functional_dependencies.clone(),
Review Comment:
done
--
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]