From 707245b62f02fb4aee5a3e9742fe48bf5e50d7f4 Mon Sep 17 00:00:00 2001 From: albinsabu2023 Date: Thu, 8 Aug 2024 23:05:55 +0530 Subject: [PATCH 1/3] changed statistics to arc(statistics) --- datafusion/core/src/datasource/listing/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/core/src/datasource/listing/mod.rs b/datafusion/core/src/datasource/listing/mod.rs index 21a60614cff2..93b0c98bbd48 100644 --- a/datafusion/core/src/datasource/listing/mod.rs +++ b/datafusion/core/src/datasource/listing/mod.rs @@ -78,7 +78,7 @@ pub struct PartitionedFile { /// /// DataFusion relies on these statistics for planning (in particular to sort file groups), /// so if they are incorrect, incorrect answers may result. - pub statistics: Option, + pub statistics: Option, /// An optional field for user defined per object metadata pub extensions: Option>, } From 946666f5072f6a171c1c5bb3fd5052a48f8c0242 Mon Sep 17 00:00:00 2001 From: albinsabu2023 Date: Fri, 9 Aug 2024 00:15:41 +0530 Subject: [PATCH 2/3] corrected it to Option> --- datafusion/core/src/datasource/listing/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/core/src/datasource/listing/mod.rs b/datafusion/core/src/datasource/listing/mod.rs index 93b0c98bbd48..c5a742d50e53 100644 --- a/datafusion/core/src/datasource/listing/mod.rs +++ b/datafusion/core/src/datasource/listing/mod.rs @@ -78,7 +78,7 @@ pub struct PartitionedFile { /// /// DataFusion relies on these statistics for planning (in particular to sort file groups), /// so if they are incorrect, incorrect answers may result. - pub statistics: Option, + pub statistics: Option>, /// An optional field for user defined per object metadata pub extensions: Option>, } From 0ac97e4353bd501453934af5458fc7892aa9c179 Mon Sep 17 00:00:00 2001 From: albinsabu2023 Date: Fri, 9 Aug 2024 00:17:19 +0530 Subject: [PATCH 3/3] Update mod.rs --- datafusion/core/src/datasource/listing/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datafusion/core/src/datasource/listing/mod.rs b/datafusion/core/src/datasource/listing/mod.rs index c5a742d50e53..4821c4515c4e 100644 --- a/datafusion/core/src/datasource/listing/mod.rs +++ b/datafusion/core/src/datasource/listing/mod.rs @@ -1,5 +1,5 @@ // Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file +// or more contributor lpub statistics: Option>,icense agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the @@ -78,7 +78,7 @@ pub struct PartitionedFile { /// /// DataFusion relies on these statistics for planning (in particular to sort file groups), /// so if they are incorrect, incorrect answers may result. - pub statistics: Option>, + /// An optional field for user defined per object metadata pub extensions: Option>, }