Skip to content

Apache DataFusion SQL Query Engine

Consolidate core_integration/datasource and rename parquet_source --> parquet_integration (#18226)

Andrew Lamb47fd638c7c45
diff --git a/datafusion/core/tests/core_integration.rs b/datafusion/core/tests/core_integration.rs
index e37a368f07..edcf039e4e 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 0000000000..d1f3b3957c
--- /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