Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Aitozi committed Sep 6, 2024
1 parent a16af93 commit 178d731
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/paimon/src/spec/objects_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@
// specific language governing permissions and limitations
// under the License.

use crate::io::FileIO;
use crate::spec::manifest_entry::ManifestEntry;
use crate::spec::ManifestFileMeta;
use crate::Error;
use apache_avro::types::Value;
use apache_avro::{from_value, Reader};
use serde::de::DeserializeOwned;

#[allow(dead_code)]
pub fn from_avro_bytes<T: DeserializeOwned>(bytes: &[u8]) -> crate::Result<Vec<T>> {
let reader = Reader::new(bytes).map_err(Error::from)?;
let records = reader
Expand Down

0 comments on commit 178d731

Please sign in to comment.