File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: Apache-2.0
2+ // SPDX-FileCopyrightText: Apache Software Foundation (ASF)
3+
14// Licensed to the Apache Software Foundation (ASF) under one
25// or more contributor license agreements. See the NOTICE file
36// distributed with this work for additional information
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ impl FileOpener for VortexOpener {
121121
122122 // We know the file schema before we open it.
123123 let schema_adapter =
124- schema_adapter_factory. create ( projected_table_schema. clone ( ) , table_schema. clone ( ) ) ;
124+ schema_adapter_factory. create ( projected_table_schema, table_schema. clone ( ) ) ;
125125
126126 Ok ( async move {
127127 // Create FilePruner when we have a predicate and either dynamic expressions
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: Apache-2.0
22// SPDX-FileCopyrightText: Copyright the Vortex contributors
33
4+ #![ allow(
5+ clippy:: unwrap_in_result,
6+ clippy:: unwrap_used,
7+ clippy:: tests_outside_test_module
8+ ) ]
9+
410//! Test that checks we can evolve schemas in a cmpatible way across files.
511
612use std:: sync:: Arc ;
@@ -36,7 +42,7 @@ use vortex::session::VortexSession;
3642use vortex_datafusion:: VortexFormat ;
3743use vortex_datafusion:: VortexFormatFactory ;
3844
39- static SESSION : LazyLock < VortexSession > = LazyLock :: new ( || VortexSession :: default ( ) ) ;
45+ static SESSION : LazyLock < VortexSession > = LazyLock :: new ( VortexSession :: default) ;
4046
4147fn register_vortex_format_factory (
4248 factory : VortexFormatFactory ,
You can’t perform that action at this time.
0 commit comments