wiedld commented on code in PR #12658:
URL: https://github.com/apache/datafusion/pull/12658#discussion_r1779746980


##########
datafusion/common/src/dfschema.rs:
##########
@@ -861,7 +861,10 @@ impl TryFrom<SchemaRef> for DFSchema {
 
 impl From<DFSchema> for SchemaRef {
     fn from(df_schema: DFSchema) -> Self {
-        SchemaRef::new(df_schema.into())
+        Arc::new(Schema::new_with_metadata(
+            df_schema.fields().to_owned(),
+            HashMap::new(),

Review Comment:
   Yeah, this is why I wasn't pushing code yesterday. Knew I was brain fried. 
Sorry about that.
   



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

Reply via email to