Skip to content

Commit d866d84

Browse files
committed
fix for PR
1 parent 86c2ec2 commit d866d84

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/loaders/parquet/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use arrow::array::{Float64Array, Float32Array, Int16Array, Int32Array, Int64Array, Int8Array, BooleanArray, Datum};
1+
use arrow::array::{Float64Array, Float32Array, Int16Array, Int32Array, Int64Array, Int8Array, BooleanArray};
22
use arrow::record_batch::RecordBatch;
33
use arrow::array::BooleanBuilder;
44
use arrow::datatypes::Schema;

src/routes.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ pub async fn entry_route(
1616
headers: HeaderMap,
1717
) -> impl IntoResponse {
1818
let path = uri.0.path().trim_start_matches("/");
19-
let base_path = PathBuf::from("/Users/smcmu/code/lsdb/tests/");
19+
let base_path = PathBuf::from("/storage2/splus");
2020
let file_path = base_path.join(path);
2121

22-
println!("Processing file: {:?}", file_path);
22+
// println!("Processing file: {:?}", file_path);
2323

2424
// Check for Range header
2525
if let Some(range_header) = headers.get("Range") {

tests/parsers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ mod parser {
44
use std::collections::HashMap;
55

66
#[tokio::test]
7-
async fn test_read_file() {
7+
async fn test_parse_filters() {
88
let mut params = HashMap::new();
99

1010
params.insert("filters".to_string(), "RA>=30.1241,DEC<=-30.3,RA>30,DEC<=30;RA==1;RA=1,RA!=0".to_string());
1111

1212
let filters = parquet::parse_params::parse_filters(&params);
1313
println!("{:#?}", filters);
14-
// Add assertions here to verify the result
14+
// TODO: Add assertions here to verify the result
1515
}
1616
}

0 commit comments

Comments
 (0)