mbutrovich commented on code in PR #1922:
URL: https://github.com/apache/iceberg-rust/pull/1922#discussion_r2610570242


##########
crates/iceberg/src/arrow/record_batch_transformer.rs:
##########
@@ -83,14 +83,10 @@ fn constants_map(
             // Handle both None (null) and Some(Literal::Primitive) cases
             match &partition_data[pos] {
                 None => {
-                    // TODO 
(https://github.com/apache/iceberg-rust/issues/1914): Add support for null 
datum values.
-                    return Err(Error::new(
-                        ErrorKind::Unexpected,
-                        format!(
-                            "Partition field {} has null value for identity 
transform",
-                            field.source_id
-                        ),
-                    ));
+                    // Skip null partition values - they will be resolved as 
null per Iceberg spec rule #4.

Review Comment:
   Yeah, I suspect the right move is to fix #1914 but I spent about an hour on 
it last night and decided the blast radius was too big for what I wanted to be 
a quick fix.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to