huaxingao commented on code in PR #15977:
URL: https://github.com/apache/iceberg/pull/15977#discussion_r3125736237


##########
api/src/main/java/org/apache/iceberg/expressions/Literals.java:
##########
@@ -747,4 +752,50 @@ public String toString() {
       return "X'" + BASE16_ENCODING.encode(bytes) + "'";
     }
   }
+
+  /**
+   * A sentinel literal representing an explicit null default value. This is 
distinct from a Java
+   * {@code null} literal reference, which means "not set." Engines use this 
distinction to decide
+   * whether to fall back to initial-default when write-default is not set.
+   */
+  static class NullLiteral<T> implements Literal<T> {

Review Comment:
   Added. Thanks



-- 
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