Skip to content

Commit

Permalink
gmt
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Sep 7, 2019
1 parent 5515033 commit 7ff8ab7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rust/datafusion/src/execution/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ use crate::execution::expression::*;
use crate::execution::filter::FilterRelation;
use crate::execution::limit::LimitRelation;
use crate::execution::physical_plan::datasource::DatasourceExec;
use crate::execution::physical_plan::projection::ProjectionExec;
use crate::execution::physical_plan::expressions::Column;
use crate::execution::physical_plan::projection::ProjectionExec;
use crate::execution::physical_plan::{ExecutionPlan, PhysicalExpr};
use crate::execution::projection::ProjectRelation;
use crate::execution::relation::{DataSourceRelation, Relation};
Expand Down Expand Up @@ -265,10 +265,11 @@ impl ExecutionContext {
e: &Expr,
_input_schema: &Schema,
) -> Result<Arc<dyn PhysicalExpr>> {

match e {
Expr::Column(i) => Ok(Arc::new(Column::new(*i))),
_ => Err(ExecutionError::NotImplemented("Unsupported expression".to_string()))
_ => Err(ExecutionError::NotImplemented(
"Unsupported expression".to_string(),
)),
}
}

Expand Down

0 comments on commit 7ff8ab7

Please sign in to comment.