diff --git a/crates/iceberg/src/scan.rs b/crates/iceberg/src/scan.rs index 0d8a4bf0d..1c3361163 100644 --- a/crates/iceberg/src/scan.rs +++ b/crates/iceberg/src/scan.rs @@ -197,10 +197,7 @@ impl<'a> TableScanBuilder<'a> { .metadata() .current_snapshot() .ok_or_else(|| { - Error::new( - ErrorKind::FeatureUnsupported, - "Can't scan table without snapshots", - ) + Error::new(ErrorKind::Unexpected, "Can't scan table without snapshots") })? .clone(), };