Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Feb 12, 2024
1 parent eac6b20 commit 48bc143
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 14 deletions.
1 change: 0 additions & 1 deletion vegafusion-common/src/data/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use datafusion_common::DataFusionError;

use datafusion_common::utils::array_into_list_array;
pub use datafusion_common::ScalarValue;
use datafusion_expr::col;

#[cfg(feature = "json")]
use {
Expand Down
5 changes: 1 addition & 4 deletions vegafusion-dataframe/src/dataframe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ use arrow::datatypes::{Schema, SchemaRef};
use arrow::record_batch::RecordBatch;
use async_trait::async_trait;
use datafusion_common::{DFSchema, ScalarValue};
use datafusion_expr::{
expr, BuiltInWindowFunction, Expr, WindowFrame, WindowFrameBound, WindowFrameUnits,
WindowFunctionDefinition,
};
use datafusion_expr::{expr, BuiltInWindowFunction, Expr, WindowFrame, WindowFunctionDefinition};
use std::any::Any;
use std::fmt::{Display, Formatter};
use std::sync::Arc;
Expand Down
3 changes: 1 addition & 2 deletions vegafusion-runtime/src/transform/collect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ use vegafusion_core::error::{Result, ResultWithContext};
use vegafusion_core::proto::gen::transforms::{Collect, SortOrder};

use async_trait::async_trait;
use datafusion_common::scalar::ScalarValue;
use datafusion_expr::{BuiltInWindowFunction, WindowFrame, WindowFrameBound, WindowFrameUnits};
use datafusion_expr::{BuiltInWindowFunction, WindowFrame};
use vegafusion_common::column::{flat_col, unescaped_col};
use vegafusion_common::data::ORDER_COL;
use vegafusion_core::task_graph::task_value::TaskValue;
Expand Down
6 changes: 1 addition & 5 deletions vegafusion-runtime/src/transform/identifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@ use crate::expression::compiler::config::CompilationConfig;
use crate::transform::TransformTrait;

use async_trait::async_trait;
use datafusion_expr::{
expr, BuiltInWindowFunction, Expr, WindowFrame, WindowFrameBound, WindowFrameUnits,
WindowFunctionDefinition,
};
use datafusion_expr::{expr, BuiltInWindowFunction, Expr, WindowFrame, WindowFunctionDefinition};
use std::sync::Arc;
use vegafusion_common::column::flat_col;
use vegafusion_common::data::scalar::ScalarValue;
use vegafusion_common::data::ORDER_COL;
use vegafusion_common::error::Result;
use vegafusion_core::proto::gen::transforms::Identifier;
Expand Down
2 changes: 1 addition & 1 deletion vegafusion-runtime/src/transform/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use vegafusion_core::proto::gen::transforms::{
};
use vegafusion_core::task_graph::task_value::TaskValue;

use datafusion_expr::{window_frame, BuiltInWindowFunction, WindowFrameBound, WindowFrameUnits};
use datafusion_expr::{BuiltInWindowFunction, WindowFrameBound, WindowFrameUnits};
use vegafusion_common::column::{flat_col, unescaped_col};
use vegafusion_common::data::ORDER_COL;
use vegafusion_common::datatypes::to_numeric;
Expand Down
2 changes: 1 addition & 1 deletion vegafusion-sql/src/dataframe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use datafusion_expr::expr::AggregateFunctionDefinition;
use datafusion_expr::{
abs, expr, is_null, lit, max, min, when, AggregateFunction, BuiltInWindowFunction,
BuiltinScalarFunction, Expr, ExprSchemable, ScalarFunctionDefinition, WindowFrame,
WindowFrameBound, WindowFrameUnits, WindowFunctionDefinition,
WindowFunctionDefinition,
};
use sqlparser::ast::{
Cte, Expr as SqlExpr, GroupByExpr, Ident, Query, Select, SelectItem, SetExpr, Statement,
Expand Down

0 comments on commit 48bc143

Please sign in to comment.