Skip to content

Commit

Permalink
Move CSV test data (#3044)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Nov 10, 2022
1 parent 8d75101 commit 4d0d033
Show file tree
Hide file tree
Showing 12 changed files with 427 additions and 427 deletions.
425 changes: 423 additions & 2 deletions arrow-csv/src/reader.rs

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion arrow/Cargo.toml
Expand Up @@ -267,4 +267,4 @@ required-features = ["test_utils", "ipc"]

[[test]]
name = "csv"
required-features = ["csv"]
required-features = ["csv", "chrono-tz"]
2 changes: 1 addition & 1 deletion arrow/examples/read_csv.rs
Expand Up @@ -31,7 +31,7 @@ fn main() {
Field::new("lng", DataType::Float64, false),
]);

let path = format!("{}/test/data/uk_cities.csv", env!("CARGO_MANIFEST_DIR"));
let path = format!("{}/../arrow-csv/test/data/uk_cities.csv", env!("CARGO_MANIFEST_DIR"));
let file = File::open(path).unwrap();

let mut csv =
Expand Down
2 changes: 1 addition & 1 deletion arrow/examples/read_csv_infer_schema.rs
Expand Up @@ -23,7 +23,7 @@ use std::fs::File;

fn main() {
let path = format!(
"{}/test/data/uk_cities_with_headers.csv",
"{}/../arrow-csv/test/data/uk_cities_with_headers.csv",
env!("CARGO_MANIFEST_DIR")
);
let file = File::open(path).unwrap();
Expand Down

0 comments on commit 4d0d033

Please sign in to comment.