Skip to content

Commit 5ef371d

Browse files
committed
fix test cases
1 parent 46b12b4 commit 5ef371d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

datafusion/optimizer/tests/integration-test.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,10 @@ impl ContextProvider for MySchemaProvider {
330330
fn get_variable_type(&self, _variable_names: &[String]) -> Option<DataType> {
331331
None
332332
}
333+
334+
fn get_config_option(&self, _variable: &str) -> Option<datafusion_common::ScalarValue> {
335+
None
336+
}
333337
}
334338

335339
fn observe(_plan: &LogicalPlan, _rule: &dyn OptimizerRule) {}

datafusion/sql/examples/sql.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,8 @@ impl ContextProvider for MySchemaProvider {
120120
fn get_variable_type(&self, _variable_names: &[String]) -> Option<DataType> {
121121
None
122122
}
123+
124+
fn get_config_option(&self, _variable: &str) -> Option<datafusion_common::ScalarValue> {
125+
None
126+
}
123127
}

0 commit comments

Comments
 (0)