You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2023/06/16 15:49:26 UTC
[arrow-datafusion] branch main updated: Move `dataframe` and `dataframe_functon` into `core_integration` test binary (#6697)
This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 9b419b19a6 Move `dataframe` and `dataframe_functon` into `core_integration` test binary (#6697)
9b419b19a6 is described below
commit 9b419b19a66bdd35e9e5c0bca259786f8f3c3965
Author: Andrew Lamb <an...@nerdnetworks.org>
AuthorDate: Fri Jun 16 11:49:20 2023 -0400
Move `dataframe` and `dataframe_functon` into `core_integration` test binary (#6697)
* Move `dataframe` and `dataframe_functon` into `core_integration` teset binary
* Appease clippy by inlining dataframe.rs tests
---
datafusion/core/tests/core_integration.rs | 3 +++
datafusion/core/tests/{ => dataframe}/dataframe_functions.rs | 0
datafusion/core/tests/{dataframe.rs => dataframe/mod.rs} | 3 +++
3 files changed, 6 insertions(+)
diff --git a/datafusion/core/tests/core_integration.rs b/datafusion/core/tests/core_integration.rs
index f01298ac6d..af39e1e18a 100644
--- a/datafusion/core/tests/core_integration.rs
+++ b/datafusion/core/tests/core_integration.rs
@@ -18,6 +18,9 @@
/// Run all tests that are found in the `sql` directory
mod sql;
+/// Run all tests that are found in the `dataframe` directory
+mod dataframe;
+
#[cfg(test)]
#[ctor::ctor]
fn init() {
diff --git a/datafusion/core/tests/dataframe_functions.rs b/datafusion/core/tests/dataframe/dataframe_functions.rs
similarity index 100%
rename from datafusion/core/tests/dataframe_functions.rs
rename to datafusion/core/tests/dataframe/dataframe_functions.rs
diff --git a/datafusion/core/tests/dataframe.rs b/datafusion/core/tests/dataframe/mod.rs
similarity index 99%
rename from datafusion/core/tests/dataframe.rs
rename to datafusion/core/tests/dataframe/mod.rs
index 6e1a42155d..67c0363bf5 100644
--- a/datafusion/core/tests/dataframe.rs
+++ b/datafusion/core/tests/dataframe/mod.rs
@@ -15,6 +15,9 @@
// specific language governing permissions and limitations
// under the License.
+// Include tests in dataframe_functions
+mod dataframe_functions;
+
use arrow::datatypes::{DataType, Field, Schema};
use arrow::util::pretty::pretty_format_batches;
use arrow::{