You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let json2 = r#"{"path":"file2.parquet","partitionValues":{},"size":200,"modificationTime":1234567890,"dataChange":true,"tags":{"INSERTION_TIME":"1677811178336000","NULLABLE_TAG":null}}"#;
2077
2070
let add2:Add = serde_json::from_str(json2).unwrap();
2078
2071
assert!(add2.tags.is_some());
@@ -2083,8 +2076,10 @@ mod tests {
2083
2076
Some(&Some("1677811178336000".to_string()))
2084
2077
);
2085
2078
assert_eq!(tags.get("NULLABLE_TAG"),Some(&None));
2079
+
}
2086
2080
2087
-
// Case 3: tags map contains non-null string values only
let json3 = r#"{"path":"file3.parquet","partitionValues":{},"size":300,"modificationTime":1234567890,"dataChange":true,"tags":{"INSERTION_TIME":"1677811178336000","MIN_INSERTION_TIME":"1677811178336000"}}"#;
2089
2084
let add3:Add = serde_json::from_str(json3).unwrap();
0 commit comments