fn ensure_discard_supported( engine: &str, is_physical_table: bool, feat: &'static str, ) -> Result<()>