justinmclean commented on code in PR #8115:
URL: https://github.com/apache/gravitino/pull/8115#discussion_r2278302233


##########
spark-connector/spark-common/src/main/java/org/apache/gravitino/spark/connector/utils/SparkPartitionUtils.java:
##########
@@ -43,9 +43,15 @@
 
 public class SparkPartitionUtils {
 
-  private SparkPartitionUtils() {}
+  private SparkPartitionUtils() {
+  }
 
   public static Literal<?> toGravitinoLiteral(InternalRow ident, int ordinal, 
DataType sparkType) {
+    // Check for null values first to prevent NPE

Review Comment:
   no real neeed for thsi comment - if fairly abvious what teh code is doing



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

Reply via email to