Skip to content

Commit

Permalink
minor fixes: add ellipses when urls are 8 or more; remove commented line
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolsingh20 committed Sep 9, 2024
1 parent 30b3d22 commit 209c79c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/daft-scan/src/glob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ impl ScanOperator for GlobScanOperator {
}

fn multiline_display(&self) -> Vec<String> {
let condensed_glob_paths = if self.glob_paths.len() <= 6 {
let condensed_glob_paths = if self.glob_paths.len() <= 7 {
self.glob_paths.join(", ")
} else {
let first_three: Vec<String> = self.glob_paths.iter().take(3).cloned().collect();
Expand Down
1 change: 0 additions & 1 deletion src/daft-scan/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,6 @@ mod test {

for _ in 0..num_sources {
sources.push(format!("../../tests/assets/parquet-data/mvp.parquet"));
// sources.push(format!("File {}", i + 1));
}

let glob_paths: Vec<&str> = sources.iter().map(|s| s.as_str()).collect();
Expand Down

0 comments on commit 209c79c

Please sign in to comment.