Skip to content

Commit 537774e

Browse files
authored
Move optimizer integration tests to core_integration (#11830)
1 parent 4a47dcb commit 537774e

File tree

5 files changed

+26
-0
lines changed

5 files changed

+26
-0
lines changed

datafusion/core/tests/core_integration.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ mod memory_limit;
3636
/// Run all tests that are found in the `custom_sources_cases` directory
3737
mod custom_sources_cases;
3838

39+
/// Run all tests that are found in the `optimizer` directory
40+
mod optimizer;
41+
42+
/// Run all tests that are found in the `physical_optimizer` directory
43+
mod physical_optimizer;
44+
3945
#[cfg(test)]
4046
#[ctor::ctor]
4147
fn init() {
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
17+
18+
mod aggregate_statistics;

datafusion/physical-optimizer/src/aggregate_statistics.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,3 +296,5 @@ fn is_max(agg_expr: &dyn AggregateExpr) -> bool {
296296
}
297297
false
298298
}
299+
300+
// See tests in datafusion/core/tests/physical_optimizer

0 commit comments

Comments
 (0)