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
// Add warnings about incomplete analysis sections
367
367
letmut incomplete_sections = Vec::new();
368
-
368
+
369
369
if metrics.schema_evolution.is_none(){
370
370
incomplete_sections.push("Schema Evolution");
371
371
}
@@ -378,14 +378,14 @@ impl IcebergAnalyzer {
378
378
if metrics.file_compaction.is_none(){
379
379
incomplete_sections.push("File Compaction");
380
380
}
381
-
381
+
382
382
if !incomplete_sections.is_empty(){
383
383
metrics.recommendations.push(format!(
384
384
"⚠️ Analysis incomplete: {} sections could not be analyzed due to missing/inaccessible metadata files (common in actively updated tables). Basic metrics are still accurate.",
385
385
incomplete_sections.join(", ")
386
386
));
387
387
}
388
-
388
+
389
389
// Check for unreferenced files
390
390
if !metrics.unreferenced_files.is_empty(){
391
391
metrics.recommendations.push(format!(
@@ -726,7 +726,7 @@ impl IcebergAnalyzer {
726
726
Ok(c) => c,
727
727
Err(_) => continue,
728
728
};
729
-
729
+
730
730
let metadata:Value = match serde_json::from_slice(&content){
731
731
Ok(m) => m,
732
732
Err(_) => continue,
@@ -966,7 +966,7 @@ impl IcebergAnalyzer {
966
966
Ok(c) => c,
967
967
Err(_) => continue,
968
968
};
969
-
969
+
970
970
let metadata:Value = match serde_json::from_slice(&content){
971
971
Ok(m) => m,
972
972
Err(_) => continue,
@@ -1133,7 +1133,7 @@ impl IcebergAnalyzer {
1133
1133
Ok(c) => c,
1134
1134
Err(_) => continue,
1135
1135
};
1136
-
1136
+
1137
1137
let metadata:Value = match serde_json::from_slice(&content){
1138
1138
Ok(m) => m,
1139
1139
Err(_) => continue,
@@ -1402,7 +1402,7 @@ impl IcebergAnalyzer {
1402
1402
Ok(c) => c,
1403
1403
Err(_) => continue,
1404
1404
};
1405
-
1405
+
1406
1406
let metadata:Value = match serde_json::from_slice(&content){
0 commit comments