From 22320babb6e49ef514a8733f910458e2d32b7901 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Wed, 22 Oct 2025 13:48:05 -0400 Subject: [PATCH] Consolidate core_integration/datasource and rename parquet_source --> parquet_integration --- datafusion/core/tests/core_integration.rs | 3 +++ .../csv.rs} | 0 datafusion/core/tests/datasource/mod.rs | 23 +++++++++++++++++++ ...rquet_config.rs => parquet_integration.rs} | 0 4 files changed, 26 insertions(+) rename datafusion/core/tests/{csv_schema_fix_test.rs => datasource/csv.rs} (100%) create mode 100644 datafusion/core/tests/datasource/mod.rs rename datafusion/core/tests/{parquet_config.rs => parquet_integration.rs} (100%) diff --git a/datafusion/core/tests/core_integration.rs b/datafusion/core/tests/core_integration.rs index e37a368f07719..edcf039e4e704 100644 --- a/datafusion/core/tests/core_integration.rs +++ b/datafusion/core/tests/core_integration.rs @@ -21,6 +21,9 @@ mod sql; /// Run all tests that are found in the `dataframe` directory mod dataframe; +/// Run all tests that are found in the `datasource` directory +mod datasource; + /// Run all tests that are found in the `macro_hygiene` directory mod macro_hygiene; diff --git a/datafusion/core/tests/csv_schema_fix_test.rs b/datafusion/core/tests/datasource/csv.rs similarity index 100% rename from datafusion/core/tests/csv_schema_fix_test.rs rename to datafusion/core/tests/datasource/csv.rs diff --git a/datafusion/core/tests/datasource/mod.rs b/datafusion/core/tests/datasource/mod.rs new file mode 100644 index 0000000000000..d1f3b3957c0fd --- /dev/null +++ b/datafusion/core/tests/datasource/mod.rs @@ -0,0 +1,23 @@ +// 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. + +//! Tests for various DataSources +//! +//! Note tests for the Parquet format are in `parquet_integration` binary + +// Include tests in csv module +mod csv; diff --git a/datafusion/core/tests/parquet_config.rs b/datafusion/core/tests/parquet_integration.rs similarity index 100% rename from datafusion/core/tests/parquet_config.rs rename to datafusion/core/tests/parquet_integration.rs