Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
rename benches dir
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed May 26, 2018
1 parent dc2c9e0 commit 796d731
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ criterion = "0.2.0"
#name = "sql_bench"
#harness = false

[[bench]]
name = "read_csv"
harness = false
#[[bench]]
#name = "read_csv"
#harness = false

#[[bench]]
#name = "filter_primitive"
Expand Down
4 changes: 2 additions & 2 deletions benches/dataframe_bench.rs → benches_old/dataframe_bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ use datafusion::types::*;
fn dataframe() {
// create execution context
let mut ctx = ExecutionContext::local();
ctx.register_function(Rc::new(STPointFunc {}));
ctx.register_function(Rc::new(STAsText {}));
ctx.register_scalar_function(Rc::new(STPointFunc {}));
ctx.register_scalar_function(Rc::new(STAsText {}));

// define schema for data source (csv file)
let schema = Schema::new(vec![
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions benches/sql_bench.rs → benches_old/sql_bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ use datafusion::functions::geospatial::*;
fn sql() {
// create execution context
let mut ctx = ExecutionContext::local();
ctx.register_function(Rc::new(STPointFunc {}));
ctx.register_function(Rc::new(STAsText {}));
ctx.register_scalar_function(Rc::new(STPointFunc {}));
ctx.register_scalar_function(Rc::new(STAsText {}));

// define schema for data source (csv file)
let schema = Schema::new(vec![
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/smoketest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cargo run --example parquet_sql
cargo run --example parquet_dataframe

# run benchmarks
cargo bench
#cargo bench

## NOTE that distributed queries are broken since moving to Arrow ... will be be fixed later

Expand Down

0 comments on commit 796d731

Please sign in to comment.