Apache DataFusion SQL Query Engine
Combine `statistics`, `filter_pushdown` and custom_sources provider tests together into a single test binary (#6683)
Andrew Lambaf13ac788c83
diff --git a/datafusion/core/tests/custom_sources.rs b/datafusion/core/tests/custom_sources.rsindex b060480d64..a8871639f7 100644--- a/datafusion/core/tests/custom_sources.rs+++ b/datafusion/core/tests/custom_sources.rs@@ -43,6 +43,9 @@ use std::pin::Pin;use std::sync::Arc;use std::task::{Context, Poll};+/// Also run all tests that are found in the `custom_sources_cases` directory+mod custom_sources_cases;+use async_trait::async_trait;//// Custom source dataframe tests ////diff --git a/datafusion/core/tests/custom_sources_cases/mod.rs b/datafusion/core/tests/custom_sources_cases/mod.rsnew file mode 100644index 0000000000..d5367c77d2--- /dev/null+++ b/datafusion/core/tests/custom_sources_cases/mod.rs@@ -0,0 +1,19 @@+// Licensed to the Apache Software Foundation (ASF) under one+// or more contributor license 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+// "License"); you may not use this file except in compliance+// with the License. You may obtain a copy of the License at+//+// http://www.apache.org/licenses/LICENSE-2.0+//+// Unless required by applicable law or agreed to in writing,+// software distributed under the License is distributed on an+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+// KIND, either express or implied. See the License for the+// specific language governing permissions and limitations+// under the License.++mod provider_filter_pushdown;+mod statistics;diff --git a/datafusion/core/tests/provider_filter_pushdown.rs b/datafusion/core/tests/custom_sources_cases/provider_filter_pushdown.rssimilarity index 100%rename from datafusion/core/tests/provider_filter_pushdown.rsrename to datafusion/core/tests/custom_sources_cases/provider_filter_pushdown.rsdiff --git a/datafusion/core/tests/statistics.rs b/datafusion/core/tests/custom_sources_cases/statistics.rssimilarity index 100%rename from datafusion/core/tests/statistics.rsrename to datafusion/core/tests/custom_sources_cases/statistics.rs