|
2 | 2 | // SPDX-FileCopyrightText: Copyright the Vortex contributors |
3 | 3 |
|
4 | 4 | use std::fs::File; |
5 | | -use std::io::Write; |
6 | | -use std::io::stdout; |
| 5 | +use std::io::{Write, stdout}; |
7 | 6 | use std::path::PathBuf; |
8 | 7 | use std::time::Duration; |
9 | 8 |
|
10 | | -use bench_vortex::Engine; |
11 | | -use bench_vortex::Format; |
12 | | -use bench_vortex::Target; |
13 | | -use bench_vortex::compress::bench::CompressMeasurements; |
14 | | -use bench_vortex::compress::bench::CompressOp; |
15 | | -use bench_vortex::compress::bench::{self as compress}; |
| 9 | +use bench_vortex::compress::bench::{ |
| 10 | + CompressMeasurements, CompressOp, {self as compress}, |
| 11 | +}; |
16 | 12 | use bench_vortex::datasets::Dataset; |
17 | 13 | use bench_vortex::datasets::struct_list_of_ints::StructListOfInts; |
18 | 14 | use bench_vortex::datasets::taxi_data::TaxiData; |
19 | | -use bench_vortex::datasets::tpch_l_comment::TPCHLCommentCanonical; |
20 | | -use bench_vortex::datasets::tpch_l_comment::TPCHLCommentChunked; |
21 | | -use bench_vortex::display::DisplayFormat; |
22 | | -use bench_vortex::display::print_measurements_json; |
23 | | -use bench_vortex::display::render_table; |
| 15 | +use bench_vortex::datasets::tpch_l_comment::{TPCHLCommentCanonical, TPCHLCommentChunked}; |
| 16 | +use bench_vortex::display::{DisplayFormat, print_measurements_json, render_table}; |
24 | 17 | use bench_vortex::downloadable_dataset::DownloadableDataset; |
25 | | -use bench_vortex::measurements::CompressionTimingMeasurement; |
26 | | -use bench_vortex::measurements::CustomUnitMeasurement; |
| 18 | +use bench_vortex::measurements::{CompressionTimingMeasurement, CustomUnitMeasurement}; |
27 | 19 | use bench_vortex::public_bi::PBI_DATASETS; |
28 | | -use bench_vortex::public_bi::PBIDataset::Arade; |
29 | | -use bench_vortex::public_bi::PBIDataset::Bimbo; |
30 | | -use bench_vortex::public_bi::PBIDataset::CMSprovider; |
31 | | -use bench_vortex::public_bi::PBIDataset::Euro2016; |
32 | | -use bench_vortex::public_bi::PBIDataset::Food; |
33 | | -use bench_vortex::public_bi::PBIDataset::HashTags; |
34 | | -use bench_vortex::setup_logging_and_tracing; |
| 20 | +use bench_vortex::public_bi::PBIDataset::{Arade, Bimbo, CMSprovider, Euro2016, Food, HashTags}; |
35 | 21 | use bench_vortex::utils::new_tokio_runtime; |
| 22 | +use bench_vortex::{Engine, Format, Target, setup_logging_and_tracing}; |
36 | 23 | use clap::Parser; |
37 | 24 | use indicatif::ProgressBar; |
38 | 25 | use itertools::Itertools; |
39 | 26 | use regex::Regex; |
40 | 27 | use tokio::runtime::Runtime; |
41 | | -use vortex::Array; |
42 | | -use vortex::IntoArray; |
43 | | -use vortex::arrays::ChunkedArray; |
44 | | -use vortex::arrays::ChunkedVTable; |
| 28 | +use vortex::arrays::{ChunkedArray, ChunkedVTable}; |
45 | 29 | use vortex::builders::builder_with_capacity; |
46 | 30 | use vortex::utils::aliases::hash_map::HashMap; |
| 31 | +use vortex::{Array, IntoArray}; |
47 | 32 |
|
48 | 33 | #[derive(Parser, Debug)] |
49 | 34 | #[command(version, about, long_about = None)] |
|
0 commit comments