Skip to content

Commit

Permalink
use provided schema
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGS committed Nov 28, 2024
1 parent 9ea0fbf commit d1f197d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bench-vortex/src/clickbench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ pub async fn register_vortex_file(

let config = ListingTableConfig::new(table_url)
.with_listing_options(ListingOptions::new(format as _))
.infer_schema(&session.state())
.await?;
.with_schema(HITS_SCHEMA.clone().into());

let listing_table = Arc::new(ListingTable::try_new(config)?);

Expand Down

0 comments on commit d1f197d

Please sign in to comment.