[ https://issues.apache.org/jira/browse/SPARK-39417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17551715#comment-17551715 ]
Apache Spark commented on SPARK-39417: -------------------------------------- User 'singhpk234' has created a pull request for this issue: https://github.com/apache/spark/pull/36810 > Handle Null partition values in PartitioningUtils > ------------------------------------------------- > > Key: SPARK-39417 > URL: https://issues.apache.org/jira/browse/SPARK-39417 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.2.1 > Reporter: Prashant Singh > Priority: Major > Fix For: 3.3.0 > > > partitions with null values we get a NPE on partition discovery, earlier we > use to get `DEFAULT_PARTITION_NAME` > > {quote} [info] java.lang.NullPointerException: > [info] at > org.apache.spark.sql.execution.datasources.PartitioningUtils$.removeLeadingZerosFromNumberTypePartition(PartitioningUtils.scala:362) > [info] at > org.apache.spark.sql.execution.datasources.PartitioningUtils$.$anonfun$getPathFragment$1(PartitioningUtils.scala:355) > [info] at > scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286) > [info] at scala.collection.Iterator.foreach(Iterator.scala:943) > [info] at scala.collection.Iterator.foreach$(Iterator.scala:943){quote} -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org