Skip to content

Commit 4d3dd9f

Browse files
committed
Add Puffin FileMetadata
1 parent 972ad3e commit 4d3dd9f

7 files changed

+975
-1
lines changed

crates/iceberg/src/puffin/compression.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18+
use serde::{Deserialize, Serialize};
19+
1820
use crate::{Error, ErrorKind, Result};
1921

20-
#[derive(Debug, PartialEq, Eq, Clone, Copy, Default)]
22+
#[derive(Debug, PartialEq, Eq, Clone, Copy, Default, Serialize, Deserialize)]
23+
#[serde(rename_all = "lowercase")]
2124
/// Data compression formats
2225
pub enum CompressionCodec {
2326
#[default]

0 commit comments

Comments
 (0)