File tree Expand file tree Collapse file tree
integrations/datafusion/src/physical_plan Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ impl SnapshotRange {
8181 // Walk backwards from to_snapshot to from_snapshot
8282 while let Some ( id) = current_id {
8383 let snapshot = table_metadata. snapshot_by_id ( id) . ok_or_else ( || {
84- Error :: new ( ErrorKind :: DataInvalid , format ! ( "Snapshot {} not found" , id ) )
84+ Error :: new ( ErrorKind :: DataInvalid , format ! ( "Snapshot {id } not found" ) )
8585 } ) ?;
8686
8787 // Validate operation is APPEND
@@ -112,8 +112,7 @@ impl SnapshotRange {
112112 Err ( Error :: new (
113113 ErrorKind :: DataInvalid ,
114114 format ! (
115- "from_snapshot {} is not an ancestor of to_snapshot {}" ,
116- from_snapshot_id, to_snapshot_id
115+ "from_snapshot {from_snapshot_id} is not an ancestor of to_snapshot {to_snapshot_id}" ,
117116 ) ,
118117 ) )
119118 }
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ pub struct IcebergTableScan {
6161
6262impl IcebergTableScan {
6363 /// Creates a new [`IcebergTableScan`] object.
64+ #[ allow( clippy:: too_many_arguments) ]
6465 pub ( crate ) fn new (
6566 table : Table ,
6667 snapshot_id : Option < i64 > ,
You can’t perform that action at this time.
0 commit comments