pandeysambhi commented on code in PR #8115:
URL: https://github.com/apache/gravitino/pull/8115#discussion_r2278422317
##########
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:
fixing this.
--
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]